-
Notifications
You must be signed in to change notification settings - Fork 180
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
As admin, I can access user management after demoting myself #3784
Labels
Comments
this should be fixed in 2.0.0-beta5 |
Refs #4181 |
According to our improvements regarding the release flow, this is a very good example where we need to write a new test to prevent further regressions. @dragotin @ScharfViktor JFYI |
Re-tested: @micbar what we expect? I thought we prohibit admit to edit own role #3713 (comment) |
butonic
changed the title
As admin, I can access to user management after demoting myself
As admin, I can access user management after demoting myself
Jul 19, 2022
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I shouldn't be able to access to the user management page (or access as regular user) and I shouldn't be able to perform actions if I become a regular user.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Operation on step 3 shouldn't be possible because he isn't an admin any longer.
Alternatively, the user "admin" shouldn't be able to change his own role.
Actual behavior
Setup
Basic oCIS 2.0.0.beta1 with the demo users enabled. The rest of the setup is the default one.
Additional context
It seems this happens only with the "admin" user, so maybe the "admin" user keeps the admin role. However, if this is the case, he shouldn't be able to have a different role.
The text was updated successfully, but these errors were encountered: