summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/roles/roles_menu.php
diff options
context:
space:
mode:
authorTarik Gasmi2007-09-27 16:40:23 +0200
committerTarik Gasmi2007-09-27 16:40:23 +0200
commitecc473303fbee5f5466d2477157b5fd682357003 (patch)
tree2776e2d1d44543e60e15fba30d98d630a551c59c /ldap-site-mngmt/webinterface/roles/roles_menu.php
parentAdded text to PXE image "please select" and "use arrow keys". Dirks idea. (diff)
downloadcore-ecc473303fbee5f5466d2477157b5fd682357003.tar.gz
core-ecc473303fbee5f5466d2477157b5fd682357003.tar.xz
core-ecc473303fbee5f5466d2477157b5fd682357003.zip
Reorganized LSM Webinterface
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1353 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/roles/roles_menu.php')
-rw-r--r--ldap-site-mngmt/webinterface/roles/roles_menu.php34
1 files changed, 20 insertions, 14 deletions
diff --git a/ldap-site-mngmt/webinterface/roles/roles_menu.php b/ldap-site-mngmt/webinterface/roles/roles_menu.php
index 62abf05c..246601e8 100644
--- a/ldap-site-mngmt/webinterface/roles/roles_menu.php
+++ b/ldap-site-mngmt/webinterface/roles/roles_menu.php
@@ -8,16 +8,19 @@ function createRolesMenu($rollen , $mnr, $assocdom) {
if ($assocdom != ""){
$hauptmenu = array(array("link" => "roles.php",
"text" => "Übersicht",
- "zugriff" => array("MainAdmin")),
+ "zugriff" => array("MainAdmin","DhcpAdmin")),
array("link" => "role_show.php?role=MainAdmin&mnr=1",
"text" => "Main Admins",
"zugriff" => array("MainAdmin")),
- #array("link" => "role_show.php?role=HostAdmin&mnr=2",
- # "text" => "Host Admins",
- # "zugriff" => array("MainAdmin")),
- #array("link" => "role_show.php?role=DhcpAdmin&mnr=3",
- # "text" => "DHCP Admins",
- # "zugriff" => array("MainAdmin")),
+ array("link" => "role_show.php?role=DhcpAdmin&mnr=2",
+ "text" => "DHCP Admins",
+ "zugriff" => array("MainAdmin")),
+ array("link" => "role_show.php?role=HostAdmin&mnr=3",
+ "text" => "Host Admins",
+ "zugriff" => array("MainAdmin","DhcpAdmin")),
+ array("link" => "role_show.php?role=RbsAdmin&mnr=4",
+ "text" => "RBS Admins",
+ "zugriff" => array("MainAdmin","DhcpAdmin")),
#array("link" => "role_show.php?role=ZoneAdmin&mnr=4",
# "text" => "DNS Admins",
# "zugriff" => array("MainAdmin"))
@@ -25,16 +28,19 @@ function createRolesMenu($rollen , $mnr, $assocdom) {
}else{
$hauptmenu = array(array("link" => "roles.php",
"text" => "Übersicht",
- "zugriff" => array("MainAdmin")),
+ "zugriff" => array("MainAdmin","DhcpAdmin")),
array("link" => "role_show.php?role=MainAdmin&mnr=1",
"text" => "Main Admins",
"zugriff" => array("MainAdmin")),
- #array("link" => "role_show.php?role=HostAdmin&mnr=2",
- # "text" => "Host Admins",
- # "zugriff" => array("MainAdmin")),
- #array("link" => "role_show.php?role=DhcpAdmin&mnr=3",
- # "text" => "DHCP Admins",
- # "zugriff" => array("MainAdmin"))
+ array("link" => "role_show.php?role=DhcpAdmin&mnr=2",
+ "text" => "DHCP Admins",
+ "zugriff" => array("MainAdmin")),
+ array("link" => "role_show.php?role=HostAdmin&mnr=3",
+ "text" => "Host Admins",
+ "zugriff" => array("MainAdmin","DhcpAdmin")),
+ array("link" => "role_show.php?role=RbsAdmin&mnr=4",
+ "text" => "RBS Admins",
+ "zugriff" => array("MainAdmin","DhcpAdmin"))
);
}
# $rollen = array_keys($roles);