From 51fb8655da02346db913bdf2ea24d791befcc1df Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 15 Sep 2010 13:05:49 +0000 Subject: [PATCH] Updated system management to support the new registeredDevice object git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19684 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/admin/systems/class_systemManagement.inc | 9 +++++++++ gosa-plugins/systems/admin/systems/system-filter.xml | 2 ++ gosa-plugins/systems/admin/systems/system-list.xml | 8 ++++++++ 3 files changed, 19 insertions(+) diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index b14b2de3e..897bb01fa 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -1272,6 +1272,15 @@ class systemManagement extends management public function getObjectDefinitions() { $tabs = array( + "registeredDevice" => array( + "ou" => "ou=systems,", + "plugClass" => "registeredDevice", + "tabClass" => "registeredDevice", + "tabDesc" => "REGISTEREDDEVICETABS", + "aclClass" => "registeredDevice", + "sendEvents" => FALSE, + "aclCategory" => "registeredDevice"), + "FAKE_OC_OpsiHost" => array( "ou" => "", "plugClass" => "opsiGeneric", diff --git a/gosa-plugins/systems/admin/systems/system-filter.xml b/gosa-plugins/systems/admin/systems/system-filter.xml index 5f6dc1de7..b43d8565a 100644 --- a/gosa-plugins/systems/admin/systems/system-filter.xml +++ b/gosa-plugins/systems/admin/systems/system-filter.xml @@ -12,6 +12,7 @@ printer winworkstation component + registeredDevice auto default dn @@ -34,6 +35,7 @@ (& (|(objectClass=goServer) (objectClass=gotoWorkstation) + (objectClass=registeredDevice) (objectClass=gotoTerminal) (objectClass=goFonHardware) (objectClass=ieee802Device) diff --git a/gosa-plugins/systems/admin/systems/system-list.xml b/gosa-plugins/systems/admin/systems/system-list.xml index cdf9dd236..38717719e 100644 --- a/gosa-plugins/systems/admin/systems/system-list.xml +++ b/gosa-plugins/systems/admin/systems/system-list.xml @@ -10,6 +10,14 @@ 1 + + + registeredDevice + registeredDevice + registeredDevice + images/lists/edit.png + + FAKE_OC_OpsiHost -- 2.30.2