Code

Fixed gofon acls
[gosa.git] / plugins / gofon / macro / class_gofonMacro.inc
index 89e2db25b3f8bed5266ba8840247be9abb92bf16..22c179f161bb535a14c30ecf7200f5287118ebcf 100755 (executable)
@@ -459,20 +459,26 @@ class macro extends plugin
   }
 
 
-  /* Return plugin informations for acl handling */
   function plInfo()
   {
     return (array(
-          "plDescription"     => _("Asterisk macro management"),
-          "plSelfModify"      => TRUE,
-          "plDepends"         => array("objectClass" => "goFonMacro"),
-
+        "plShortName"   => _("Generic"),
+        "plDescription" => _("Asterisk macro management"),
+        "plSelfModify"  => TRUE,
+        "plDepends"     => array(),
+        "plPriority"    => 0,
+        "plSection"     => array("administration"),
+        "plCategory"    => array("gofon"),
+
+        "plProvidedAcls" => array(
           "base"                          => _("Base"), 
           "description"                   => _("Description"), 
           "displayName"                   => _("Display name"),
           "goFonMacroContent"             => _("Macro content"),
-          "goFonMacroVisible"             => _("Visibility flag")));
+          "goFonMacroVisible"             => _("Visibility flag"))
+        ));
   }
+
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>