From 49bb09d9d363f5863996c228c19a56037a9283fe Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 1 Jun 2015 16:31:48 +0200 Subject: [PATCH] Add dedicated menu entries to manage users, groups and roles refs #8826 --- library/Icinga/Web/Menu.php | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/library/Icinga/Web/Menu.php b/library/Icinga/Web/Menu.php index 7e092cc92..1757f0e88 100644 --- a/library/Icinga/Web/Menu.php +++ b/library/Icinga/Web/Menu.php @@ -249,20 +249,30 @@ class Menu implements RecursiveIterator 'permission' => 'config/*', 'priority' => 400 )); - $section->add(t('User-Management'), array( - 'url' => 'user/list', + $section->add(t('Application'), array( + 'url' => 'config/application', 'permission' => 'config/application/*', + 'priority' => 450 + )); + $section->add(t('Users'), array( + 'url' => 'user/list', + 'permission' => 'config/application/user/show', '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( 'url' => 'usergroupbackend/list', 'permission' => 'config/application/usergroupbackend/*', - 'priority' => 510 - )); - $section->add(t('Configuration'), array( - 'url' => 'config', - 'permission' => 'config/application/*', - 'priority' => 600 + 'priority' => 650 )); $section->add(t('Modules'), array( 'url' => 'config/modules',