-
Notifications
You must be signed in to change notification settings - Fork 5k
[Bug] [Edit User Info] Problems caused by modifying the administrator user information. #7857
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingrelease cherry-pickMark this issue/PR had cherry-pick for release versionMark this issue/PR had cherry-pick for release versionsecurity
Milestone
Description
Search before asking
- I had searched in the issues and found no similar issues.
What happened
- User state
When I logged in as an administrator, I modified the user information, changed the administrator's status to disabled, and modified the administrator's user name, all interfaces were unavailable.
The same problem exists in the user management section.
- Authorized operation of admin user
The administrator should have all the permissions by default, and there is no need to perform authorization related operations.
What you expected to happen
Administrators cannot modify their own status, but they can modify the status of ordinary users. Ordinary users cannot modify their own status and the status of administrators and other ordinary users. The administrator does not need to assign any permissions to himself.
How to reproduce
Log in with any identity to modify your personal status.
Anything else
No response
Version
dev
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingrelease cherry-pickMark this issue/PR had cherry-pick for release versionMark this issue/PR had cherry-pick for release versionsecurity
Type
Projects
Status
Done


