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
Prev Previous commit
Next Next commit
Update site/src/i18n/en/usersPage.json
Co-authored-by: Ben Potter <[email protected]>
  • Loading branch information
BrunoQuaresma and bpmct authored Jan 4, 2023
commit 2fe9e519a11fd53d04693fe7fed6c175ec309db3
8 changes: 4 additions & 4 deletions site/src/i18n/en/usersPage.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"resetPasswordMenuItem": "Reset password",
"editUserRolesTooltip": "Edit user 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"
}