From 7ae3f187bdc6d9cef30b590d2649f793f9b5f6f9 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 5 Dec 2019 09:12:59 +0100 Subject: [PATCH] RoleForm: Add new app permission `no-user/password-change` --- application/forms/Security/RoleForm.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/forms/Security/RoleForm.php b/application/forms/Security/RoleForm.php index 0f7c7a1d2..86cb8c815 100644 --- a/application/forms/Security/RoleForm.php +++ b/application/forms/Security/RoleForm.php @@ -43,6 +43,10 @@ class RoleForm extends RepositoryForm $view = $this->getView(); $this->providedPermissions['application'] = [ + $helper->filterName('no-user/password-change') => [ + 'name' => 'no-user/password-change', + 'description' => $this->translate('Prohibit password changes in the account preferences') + ], $helper->filterName('application/share/navigation') => [ 'name' => 'application/share/navigation', 'description' => $this->translate('Allow to share navigation items')