Code

fixed problem with klicking apply more than once
[gosa.git] / plugins / admin / systems / class_componentGeneric.inc
index 8648d0bc40cb3b3cd0e11d2c476e3ff2acd3b8db..a6d93bb19da55c382f71a951f75871186f52e5c4 100644 (file)
@@ -226,6 +226,25 @@ class componentGeneric extends plugin
     $this->postcreate();
   }
 
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Generic"),
+          "plDescription" => _("Component generic"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("component" => array("description"  => _("Network device"),
+                                                        "objectClass"  => array("device", "ipHost", "ieee802Device"))),
+          "plProvidedAcls"=> array(
+            "cn"                  => _("Name"),
+            "description"         => _("Description"))
+          ));
+  }
+
+
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: