mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-24 12:54:44 +02:00
Check permission when changing permissions for users.
This commit is contained in:
parent
c2c9f3a938
commit
2c866186b0
2 changed files with 3 additions and 3 deletions
|
@ -239,7 +239,7 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
bit: 4
|
||||
delete:
|
||||
label: "perm.delete"
|
||||
alsoSet: ['read', 'edit']
|
||||
alsoSet: ['read', 'edit_username', 'edit_infos']
|
||||
bit: 8
|
||||
edit_username:
|
||||
label: "perm.users.edit_user_name"
|
||||
|
@ -259,7 +259,7 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
bit: 12
|
||||
set_password:
|
||||
label: "perm.users.set_password"
|
||||
alsoSet: 'set_read'
|
||||
alsoSet: 'read'
|
||||
bit: 14
|
||||
change_user_settings:
|
||||
label: "perm.users.change_user_settings"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue