security: Provide permissions for our config actions
This commit is contained in:
parent
9dd179d8f3
commit
65a2c47506
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue