Code

Fixed group acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 08:28:13 +0000 (08:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 08:28:13 +0000 (08:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4198 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc
plugins/admin/groups/class_groupMail.inc

index e534546956680c8528b8c84a1fc24bd278375d91..9fffda8799547a9a141185054c1bd35c70885cd4 100644 (file)
@@ -1056,12 +1056,23 @@ class appgroup extends plugin
   /* Return plugin informations for acl handling  */ 
   function plInfo()
   {
-    return (array(  
-          "plDescription"     => _("Group applications"),
-          "plSelfModify"      => FALSE,
-          "plDepends"         => array("objectClass" => "posixGroup"),
-          "gosaMemberApplication"     => _("Application"),
-          "gosaApplicationParameter"  => _("Application parameter")));
+     function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Applications"),
+          "plDescription" => _("Group applications"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("groups"),
+          "plProvidedAcls"=> array(
+            "gosaMemberApplication"     => _("Application"),
+            "gosaApplicationParameter"  => _("Application parameter"))
+          ));
+  }
+
+
 
   }
 }
index 6f8f4531b9bdad607308001c81124555feb1bf17..c78710ef292bc64bcf15bbbd4374c4232f4b6a60 100644 (file)
@@ -973,31 +973,25 @@ I: Only insider delivery */
   }
 
 
-  /* Return plugin informations for acl handling  */ 
+  /* Return plugin informations for acl handling  */
   function plInfo()
   {
-    return (array(  
-          "plDescription"     => _("Group mail"),
-          "plSelfModify"      => FALSE,
-          "plDepends"         => array("objectClass" => "posixGroup"),
-
-          "mail"                      => _("Mail address"),
-          "gosaMailAlternateAddress"  => _("Alternate addresses"),
-          "gosaMailForwardingAddress" => _("Forwarding addresses"),
-
-          "gosaMailQuota"             => _("Quota size"),
-//        "gosaMailMaxSize"           => _("Mail max size"),
-
-          "gosaMailServer"            => _("Mail server"),
-//        "gosaMailDeliveryMode"      => _("Delivery mode"),
-
-//        "gosaSpamSortLevel"         => _(""),
-//        "gosaSpamMailbox"           => _(""),
-
-          "acl"                       => _(""),
-//        "gosaSharedFolderTarget"    => _(""),
-//        "gosaVacationMessage"       => _("")
-                                                   ));
+    return (array(
+          "plShortName"   => _("Mail"),
+          "plDescription" => _("Group mail"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("groups"), 
+          "plProvidedAcls"=> array(
+            "mail"                      => _("Mail address"),
+            "gosaMailAlternateAddress"  => _("Alternate addresses"),
+            "gosaMailForwardingAddress" => _("Forwarding addresses"),
+            "gosaMailQuota"             => _("Quota size"),
+            "gosaMailServer"            => _("Mail server"),
+            "acl"                       => _("Permissions"))
+          ));
   }
 }