mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
Root admin checkbox cannot be unchecked in user edit menu #409
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @comminux on GitHub (Aug 25, 2025).
Current Behavior
At the moment, it is impossible to remove admin privileges from a user through the UI without recreating the account
Expected Behavior
Ability to uncheck a checkbox
Steps to Reproduce
Open the user edit menu
Panel Version
1.0.0-beta24
Wings Version
1.0.0-beta16
Games and/or Eggs Affected
Custom egg
Docker Image
Custom image
Error Logs
Chrome browser console:
Is there an existing issue for this?
@notAreYouScared commented on GitHub (Aug 25, 2025):
This is by design. There should only really only be one root admin.
@comminux commented on GitHub (Aug 25, 2025):
Sorry for misleading, I made a screenshot on the second admin, with id 2
@notAreYouScared commented on GitHub (Aug 25, 2025):
You should be making the second account from the ui. Not the command line.
@comminux commented on GitHub (Aug 25, 2025):
When creating a new user, this checkbox is not available.
@notAreYouScared commented on GitHub (Aug 25, 2025):
Correct. You shouldn't be giving out root admin, you should be creating a role. Abd assigning that role to the new user.
@comminux commented on GitHub (Aug 25, 2025):
I deleted the second admin account and created a new role. Now I'm ready to close the issue.
Thanks for your help.