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

If there is only one admin user, this admin cannot change the role of non-admin users to admin #2380

Closed
texnixe opened this issue Dec 28, 2019 · 1 comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Milestone

Comments

@texnixe
Copy link
Member

texnixe commented Dec 28, 2019

Describe the bug
As it says in the title.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new user role, e.g. client.
  2. Create a user with this role.
  3. Then, try to change the role of this user to admin.
  4. The changeRole dialog in this case doesn't offer any other roles to change to apart from the current role.

Expected behavior
It should be possible to change the role of an existing user to admin.

Additional context
Note that it is possible to create new admin users. It is also possible to change the role of a non-admin user to admin if you create a second admin user first.

Kirby Version
Tested with 3.2.2

@bastianallgeier
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
Development

No branches or pull requests

3 participants