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

View File

@ -21,7 +21,14 @@ class RoleForm extends ConfigForm
* *
* @type array * @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 * Provided restrictions by currently loaded modules