Skip to content
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

Select only one role between user and administrator #691

Open
maximemf opened this issue Aug 31, 2022 · 0 comments
Open

Select only one role between user and administrator #691

maximemf opened this issue Aug 31, 2022 · 0 comments
Labels
enhancement This issue or pull request improves a feature feature This issue or pull request contains a new feature

Comments

@maximemf
Copy link

Is your feature request related to a problem? Please describe.

In the USERS admin menu, when editing a user, you can grant it both the standard user role and the administrator role.

That doesn't make much sense, because the administrator role already includes the user role, there is no difference if a user has only the admin role or both the user and admin roles, so it can be confusing for the users.

image

Describe the solution you'd like

You should only be able to select one role, user or admin, but not both. So I should have a dropdown list with both roles and just select one or the other.

Other possibility: a simple admin checkbox, checked to grant admin role, unchecked to remove admin role.

@maximemf maximemf added enhancement This issue or pull request improves a feature feature This issue or pull request contains a new feature labels Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue or pull request improves a feature feature This issue or pull request contains a new feature
Projects
None yet
Development

No branches or pull requests

1 participant