Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: Improve roles UI #5576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 4, 2023
8 changes: 4 additions & 4 deletions site/src/i18n/en/usersPage.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"editUserRolesTooltip": "Edit user roles",
"fieldSetRolesTooltip": "Available roles",
"roleDescription": {
"owner": "Owner can manage all the coder resources including users and their permissions",
"user-admin": "User admin can manage all the coder users and groups",
"template-admin": "Template admin can manage all the coder templates and permissions",
"owner": "Owner can manage all resources, including users and their permissions",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried a screen reader and it read both the title and the description, so each role name was said twice in a row. Maybe start the descriptions with "Can."

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw that right after clicking on merge 🤦‍♂️ I think this is a good suggestion.

"user-admin": "User admin can manage all users and groups",
"template-admin": "Template admin can manage all templates and permissions",
"auditor": "Auditor can access the audit logs",
"member": "Everybody is a member. This is a shared and default role for all the users"
"member": "Everybody is a member. This is a shared and default role for all users"
},
"member": "Member"
}