Skip to content

Fix principal sorting to be alphabetical by name instead of ID#557

Open
nikhil6393 wants to merge 2 commits intosalesforce:masterfrom
nikhil6393:fix-principal-sorting
Open

Fix principal sorting to be alphabetical by name instead of ID#557
nikhil6393 wants to merge 2 commits intosalesforce:masterfrom
nikhil6393:fix-principal-sorting

Conversation

@nikhil6393
Copy link
Copy Markdown

Resolves #238.
This pull request modifies getPrincipalIds() to list users, groups, and roles alphabetically by their name property (instead of relying on Object.keys() which defaults to ID ordering). This ensures the UI properly orders the principals page. I've also updated the related test to expect name-based sorting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Principals page should list IAM roles/groups/users in alphabetical order

1 participant