Added background permission switch.
This commit is contained in:
parent
38bdef2b74
commit
969c629fdd
1 changed files with 10 additions and 0 deletions
|
@ -210,6 +210,16 @@ function manage_perms_list(array $rawPerms): array
|
|||
$rawPerms['user_perms_deny']
|
||||
),
|
||||
],
|
||||
[
|
||||
'section' => 'change-background',
|
||||
'title' => 'Can change own background.',
|
||||
'perm' => MSZ_PERM_USER_CHANGE_BACKGROUND,
|
||||
'value' => manage_perms_value(
|
||||
MSZ_PERM_USER_CHANGE_BACKGROUND,
|
||||
$rawPerms['user_perms_allow'],
|
||||
$rawPerms['user_perms_deny']
|
||||
),
|
||||
],
|
||||
[
|
||||
'section' => 'manage-users',
|
||||
'title' => 'Can manage other users.',
|
||||
|
|
Loading…
Reference in a new issue