Check permission when changing permissions for users.

This commit is contained in:
Jan Böhmer 2019-09-11 17:00:03 +02:00
parent c2c9f3a938
commit 2c866186b0
2 changed files with 3 additions and 3 deletions

View file

@ -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"