RoleForm: Add new permission sets for user and group management

refs #8826
This commit is contained in:
Johannes Meyer 2015-05-27 10:39:29 +02:00
parent 8713f59e66
commit e55d43418d
1 changed files with 20 additions and 8 deletions

View File

@ -21,14 +21,26 @@ class RoleForm extends ConfigForm
* @var array
*/
protected $providedPermissions = array(
'*' => '*',
'config/*' => 'config/*',
'config/application/*' => 'config/application/*',
'config/application/general' => 'config/application/general',
'config/application/authentication' => 'config/application/authentication',
'config/application/resources' => 'config/application/resources',
'config/application/roles' => 'config/application/roles',
'config/modules' => 'config/modules'
'*' => '*',
'config/*' => 'config/*',
'config/application/*' => 'config/application/*',
'config/application/general' => 'config/application/general',
'config/application/authentication' => 'config/application/authentication',
'config/application/resources' => 'config/application/resources',
'config/application/roles' => 'config/application/roles',
'config/application/users/*' => 'config/application/users/*',
'config/application/users/show' => 'config/application/users/show',
'config/application/users/add' => 'config/application/users/add',
'config/application/users/edit' => 'config/application/users/edit',
'config/application/users/remove' => 'config/application/users/remove',
'config/application/groups/*' => 'config/application/groups/*',
'config/application/groups/show' => 'config/application/groups/show',
'config/application/groups/add' => 'config/application/groups/add',
'config/application/groups/edit' => 'config/application/groups/edit',
'config/application/groups/remove' => 'config/application/groups/remove',
'config/application/groups/member/add' => 'config/application/groups/member/add',
'config/application/groups/member/remove' => 'config/application/groups/member/remove',
'config/modules' => 'config/modules'
);
/**