Add dedicated menu entries to manage users, groups and roles

refs #8826
This commit is contained in:
Johannes Meyer 2015-06-01 16:31:48 +02:00
parent c7ce1498bf
commit 49bb09d9d3
1 changed files with 18 additions and 8 deletions

View File

@ -249,20 +249,30 @@ class Menu implements RecursiveIterator
'permission' => 'config/*', 'permission' => 'config/*',
'priority' => 400 'priority' => 400
)); ));
$section->add(t('User-Management'), array( $section->add(t('Application'), array(
'url' => 'user/list', 'url' => 'config/application',
'permission' => 'config/application/*', 'permission' => 'config/application/*',
'priority' => 450
));
$section->add(t('Users'), array(
'url' => 'user/list',
'permission' => 'config/application/user/show',
'priority' => 500 'priority' => 500
)); ));
$section->add(t('Groups'), array(
'url' => 'group/list',
'permission' => 'config/application/group/show',
'priority' => 550
));
$section->add(t('Roles'), array(
'url' => 'roles',
'permission' => 'config/application/roles',
'priority' => 600
));
$section->add(t('UserGroupBackends'), array( $section->add(t('UserGroupBackends'), array(
'url' => 'usergroupbackend/list', 'url' => 'usergroupbackend/list',
'permission' => 'config/application/usergroupbackend/*', 'permission' => 'config/application/usergroupbackend/*',
'priority' => 510 'priority' => 650
));
$section->add(t('Configuration'), array(
'url' => 'config',
'permission' => 'config/application/*',
'priority' => 600
)); ));
$section->add(t('Modules'), array( $section->add(t('Modules'), array(
'url' => 'config/modules', 'url' => 'config/modules',