From 969c629fdd844699a3237aee5cce72eb767a56d5 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 16 Sep 2018 21:02:22 +0200 Subject: [PATCH] Added background permission switch. --- src/manage.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/manage.php b/src/manage.php index aa4a388d..54593976 100644 --- a/src/manage.php +++ b/src/manage.php @@ -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.',