Code

Added dns acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 08:11:46 +0000 (08:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 08:11:46 +0000 (08:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4196 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc

index 3c40b6bf9ba3a3e3ffa11b37da519b6fe9907320..5850acf5a6d80ce9f797197b8902c3850acf324b 100644 (file)
@@ -506,13 +506,22 @@ class termDNS extends plugin
   /* Return plugin informations for acl handling  */ 
   function plInfo()
   {
-    return (array(  
-          "plDescription"     => _("DNS"),
-          "plSelfModify"      => FALSE,
-          "plDepends"         => array("objectClass" => array("gotoWorkstation")),
-
-          "ipHostNumber"  => _("IP address"),
-          "macAddress"    => _("MAC address")));
+    return (array(
+          "plShortName"   => _("DNS"),
+          "plDescription" => _("DNS settings"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("workstation","terminal","phone","server","component","printer"),
+
+          "plProvidedAcls"=> array(
+            "Records"       => _("DNS records"),
+            "zoneName"      => _("Zone name"),
+            "dNSTTL"        => _("TTL"),
+            "ipHostNumber"  => _("IP address"),
+            "macAddress"    => _("MAC address"))
+          ));
   }
 }