security: Provide permissions for our config actions

This commit is contained in:
Eric Lippmann 2015-01-30 13:29:47 +01:00
parent 9dd179d8f3
commit 65a2c47506
1 changed files with 8 additions and 1 deletions

View File

@ -21,7 +21,14 @@ class RoleForm extends ConfigForm
*
* @type array
*/
protected $providedPermissions = array('*' => '*');
protected $providedPermissions = array(
'*' => '*',
'system/config/*' => 'system/config/*',
'system/config/application' => 'system/config/application',
'system/config/authentication' => 'system/config/authentication',
'system/config/resources' => 'system/config/resources',
'system/config/roles' => 'system/config/roles'
);
/**
* Provided restrictions by currently loaded modules