Code

Updated system management to support the new registeredDevice object
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Sep 2010 13:05:49 +0000 (13:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 15 Sep 2010 13:05:49 +0000 (13:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19684 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc
gosa-plugins/systems/admin/systems/system-filter.xml
gosa-plugins/systems/admin/systems/system-list.xml

index b14b2de3ef7e8adafa5ddd45920637b8850b12da..897bb01fa2b9ba93c1d241607015357fdaaaedd3 100644 (file)
@@ -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",
index 5f6dc1de730e0b8fff209f33a36946962c8f651e..b43d8565a1be257bb01038c2f5472dd17d59c3ef 100644 (file)
@@ -12,6 +12,7 @@
     <category>printer</category>
     <category>winworkstation</category>
     <category>component</category>
+    <category>registeredDevice</category>
     <scope>auto</scope>
     <default>default</default>
     <attribute>dn</attribute>
@@ -34,6 +35,7 @@
       <filter>(&amp;
                 (|(objectClass=goServer)
                   (objectClass=gotoWorkstation)
+                  (objectClass=registeredDevice)
                   (objectClass=gotoTerminal)
                   (objectClass=goFonHardware)
                   (objectClass=ieee802Device)
index cdf9dd236dc63cc0a236f8930cb7d6aefefb38ec..38717719e1fae7adfd7216f742443737f457aea6 100644 (file)
     <label>List of systems</label>
     <defaultSortColumn>1</defaultSortColumn>
 
+    <objectType>
+      <label>Registered device</label>
+      <objectClass>registeredDevice</objectClass>
+      <category>registeredDevice</category>
+      <class>registeredDevice</class>
+      <image>images/lists/edit.png</image>
+    </objectType>
+
     <objectType>
       <label>Opsi host</label>
       <objectClass>FAKE_OC_OpsiHost</objectClass>