Code

Added phone acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 07:09:43 +0000 (07:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 07:09:43 +0000 (07:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4190 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_phoneGeneric.inc

index e85dc25cf8a1727bbf40cb40ef1934f85553ee40..f43f06979279395c06d297eb7433dbb7a6a6b41d 100644 (file)
@@ -400,6 +400,32 @@ class phoneGeneric extends plugin
     $this->postcreate();
   }
 
+
+  /* Return plugin informations for acl handling
+      #FIXME FAIscript seams to ununsed within this class... */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Generic"),
+          "plDescription" => _("Phone generic"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("phone" => array("description"  => _("Phone hardware"),
+                                                    "objectClass"  => _("goFonHardware"))),
+          "plProvidedAcls"=> array(
+            "cn"                  => _("Name"),
+            "description"         => _("Description"),
+            "goFonType"           => _("Mode"),
+            "goFonDmtfMode"       => _("DTMF mode"),
+            "goFonDefaultIP"      => _("Default ip"),
+            "goFonQualify"        => _("Qualify"),
+            "selected_categorie"  => _("Hardware type"))
+          ));
+  }
+
+
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: