don't allow admins to change their own permissions

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2024-11-09 20:24:35 +01:00
parent 30fb1d6240
commit ef98ee7d11
7 changed files with 24 additions and 33 deletions

View File

@@ -762,7 +762,7 @@
"role_permissions": "A role admin cannot have the following permissions: {{val}}",
"view_manage": "View and manage admins",
"self_delete": "You cannot delete yourself",
"self_permissions": "You cannot remove these permissions to yourself",
"self_permissions": "You cannot change your permissions",
"self_disable": "You cannot disable yourself",
"self_role": "You cannot add/change your role",
"password_help": "If blank the current password will not be changed",