summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/roles/roles_menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'ldap-site-mngmt/webinterface/roles/roles_menu.php')
-rw-r--r--ldap-site-mngmt/webinterface/roles/roles_menu.php32
1 files changed, 17 insertions, 15 deletions
diff --git a/ldap-site-mngmt/webinterface/roles/roles_menu.php b/ldap-site-mngmt/webinterface/roles/roles_menu.php
index e389f4e9..62abf05c 100644
--- a/ldap-site-mngmt/webinterface/roles/roles_menu.php
+++ b/ldap-site-mngmt/webinterface/roles/roles_menu.php
@@ -12,15 +12,16 @@ function createRolesMenu($rollen , $mnr, $assocdom) {
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=ZoneAdmin&mnr=4",
- "text" => "DNS 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=ZoneAdmin&mnr=4",
+ # "text" => "DNS Admins",
+ # "zugriff" => array("MainAdmin"))
+ );
}else{
$hauptmenu = array(array("link" => "roles.php",
"text" => "Übersicht",
@@ -28,12 +29,13 @@ function createRolesMenu($rollen , $mnr, $assocdom) {
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=HostAdmin&mnr=2",
+ # "text" => "Host Admins",
+ # "zugriff" => array("MainAdmin")),
+ #array("link" => "role_show.php?role=DhcpAdmin&mnr=3",
+ # "text" => "DHCP Admins",
+ # "zugriff" => array("MainAdmin"))
+ );
}
# $rollen = array_keys($roles);