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

users: limit to only one role #243

Merged
merged 1 commit into from
Jun 16, 2020
Merged

users: limit to only one role #243

merged 1 commit into from
Jun 16, 2020

Conversation

sebdeleze
Copy link
Contributor

Co-Authored-by: Sébastien Délèze [email protected]

How to test

  1. Login as admin
  2. Go to Users / Add.
  3. Try to select multiple roles --> Form cannot be saved.

@sebdeleze sebdeleze marked this pull request as ready for review June 12, 2020 12:40
* Limits users to only one role.
* Closes #241.

Co-Authored-by: Sébastien Délèze <[email protected]>
@sebdeleze sebdeleze merged commit 5af14d6 into rero:dev Jun 16, 2020
@sebdeleze sebdeleze deleted the sed-limit-roles branch June 16, 2020 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow only one role for users, as roles are hierarchical
1 participant