Describe the bug
A non-admin user with the Manage users permission can obtain admin privileges by giving himself the admin role.
Steps To Reproduce
Steps to reproduce the behavior:
- Add a custom role with the
Manage users permission
- Add a new user with this new role but without the admin role
- Login as the new user
- Go to your own
Users settings
- Give yourself the admin role
- You should now have admin privileges
Expected behavior
It should not be possible to obtain more privileges than you already have.
Your Configuration (please complete the following information):
- Exact BookStack Version (Found in settings): v0.29.1
- Hosting Method: Docker
Describe the bug
A non-admin user with the
Manage userspermission can obtain admin privileges by giving himself the admin role.Steps To Reproduce
Steps to reproduce the behavior:
Manage userspermissionUserssettingsExpected behavior
It should not be possible to obtain more privileges than you already have.
Your Configuration (please complete the following information):