From a8d223583efc97fdd6ae1cb92fc4c76a5c4e91f2 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Feb 2008 07:29:31 +0000 Subject: [PATCH] Updated System management. -Incoming objects were only displayed if we had full access. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8883 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/admin/systems/class_systemManagement.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 33190041f..fdbf31a25 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -522,6 +522,7 @@ class systems extends plugin $ui = get_userinfo(); $tabs = array( + "ArpNewDevice"=> array("CLASS"=>"TERMTABS", "TABCLASS" =>"termtabs", "ACL"=> "systems/incoming"), "terminal" => array("CLASS"=>"TERMTABS", "TABCLASS" =>"termtabs", "ACL"=> "terminal/termgeneric"), "workstation" => array("CLASS"=>"WORKTABS", "TABCLASS" =>"worktabs", "ACL"=> "workstation/workgeneric"), "server" => array("CLASS"=>"SERVTABS", "TABCLASS" =>"servtabs", "ACL"=> "server/servgeneric"), @@ -601,9 +602,12 @@ class systems extends plugin $this->dn = $this->terminals[$s_entry]['dn']; $attrs = $this->terminals[$s_entry]; + + $type= $this->get_system_type($attrs); $ui = get_userinfo(); $tabs = array( + "ArpNewDevice"=> array("CLASS"=>"TERMTABS", "TABCLASS" =>"termtabs", "ACL"=> "systems/incoming"), "terminal" => array("CLASS"=>"TERMTABS", "TABCLASS" =>"termtabs", "ACL"=> "terminal/termgeneric"), "workstation" => array("CLASS"=>"WORKTABS", "TABCLASS" =>"worktabs", "ACL"=> "workstation/workgeneric"), "server" => array("CLASS"=>"SERVTABS", "TABCLASS" =>"servtabs", "ACL"=> "server/servgeneric"), @@ -662,6 +666,7 @@ class systems extends plugin $ui = get_userinfo(); $tabs = array( + "ArpNewDevice"=> array("CLASS"=>"TERMTABS", "TABCLASS" =>"termtabs", "ACL"=> "systems/incoming"), "terminal" => array("CLASS"=>"TERMTABS", "TABCLASS" =>"termtabs", "ACL"=> "terminal/termgeneric"), "workstation" => array("CLASS"=>"WORKTABS", "TABCLASS" =>"worktabs", "ACL"=> "workstation/workgeneric"), "server" => array("CLASS"=>"SERVTABS", "TABCLASS" =>"servtabs", "ACL"=> "server/servgeneric"), @@ -992,7 +997,7 @@ class systems extends plugin /* Attributes to fetch */ $sys_attrs = array("cn", "description", "macAddress", "objectClass", "sambaDomainName","gotoMode"); - $sys_categories = array("terminal", "workstation", "server", "phone" ,"printer"); + $sys_categories = array("terminal", "workstation", "server", "phone" ,"printer","incoming"); /* Add FAIstate to attributes if FAI is activated */ $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs')); -- 2.30.2