Code

Fixed gofon acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 09:20:25 +0000 (09:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 09:20:25 +0000 (09:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4203 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/conference/class_phoneConferenceGeneric.inc
plugins/gofon/fonreports/class_fonreport.inc
plugins/gofon/macro/class_gofonMacro.inc

index d50d5cc33c88132f5769b282d5133ae72aec0bb1..5b4716402cf0021e60091f0a83f99abe78697db8 100644 (file)
@@ -524,7 +524,7 @@ class conference extends plugin
           "plDepends"     => array(),
           "plPriority"    => 0,
           "plSection"     => array("addons" => _("Addons")),
-          "plCategory"    => array("conference" => array("description" => _("GOfon"),
+          "plCategory"    => array("gofon" => array("description" => _("GOfon"),
                                                   "objectClass" => "gofonConference")),
 
           "plProvidedAcls" => array(
index 361cc983c82818c9b2e6cdea5002d2aa543290e4..9056f91a9635a97ae31f6fb93b68f3ca55684bfa 100644 (file)
@@ -358,16 +358,12 @@ class fonreport extends plugin
         "plSelfModify"  => TRUE,
         "plDepends"     => array(),
         "plPriority"    => 0,
-        "plSection"     => array("fonreport" => _("Phone reports")),
-        "plCategory"    => array("gofon"     => _("Phone reports")),
-
-
-
-          "plDescription"     => _("Phone reports"),
-          "plSelfModify"      => TRUE,
-          "plDepends"         => array("objectClass" => "fonreport"),
-
-          "fonreport" => "!!! FIXME "._("Phone reports")));
+        "plSection"     => array("administration"),
+        "plCategory"    => array("gofon"),
+  
+        "plProvidedAcls" => array(
+          "fonreport" => "!!! FIXME "._("Phone reports"))
+        ));
   }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
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:
 ?>