mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
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…
x
Reference in New Issue
Block a user