Code

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

plugins/admin/mimetypes/class_mimetypeGeneric.inc

index 95ddcd849853a72f90fc15ee967397850a68b3f6..f5d7f3ae10c4b04a774c890aa372488fea9d00d3 100644 (file)
@@ -648,20 +648,27 @@ class mimetype extends plugin
   /* Return plugin informations for acl handling  */ 
   function plInfo()
   {
-    return (array(  
-          "plDescription"     => _("Mime types"),
-          "plSelfModify"      => FALSE,
-          "plDepends"         => array("objectClass" => "gotoMimeType","description"=>_("Mime type")),
-
-          "cn"                          => _("Name"),
-          "gotoMimeGroup"               => _("Mime group"),
-          "description"                 => _("Description"),
-          "base"                        => _("Base"),
-          "gotoMimeApplication"         => _("Application"),
-          "gotoMimeLeftClickAction"     => _("Left click action"),
-          "gotoMimeIcon"                => _("Icon"),
-          "gotoMimeFilePattern"         => _("File patterns"),
-          "gotoMimeEmbeddedApplication" => _("Embedded applications")));
+    return (array(
+          "plShortName"   => _("Generic"),
+          "plDescription" => _("Mime type generic"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("mimetypes" => array("description"  => _("Mime types"),
+                                                        "objectClass"  => "gotoMimeType")),
+          "plProvidedAcls"=> array(
+            "cn"                          => _("Name"),
+            "gotoMimeGroup"               => _("Mime group"),
+            "description"                 => _("Description"),
+            "base"                        => _("Base"),
+            "gotoMimeApplication"         => _("Application"),
+            "gotoMimeLeftClickAction"     => _("Left click action"),
+            "gotoMimeIcon"                => _("Icon"),
+            "gotoMimeFilePattern"         => _("File patterns"),
+            "gotoMimeEmbeddedApplication" => _("Embedded applications"))
+          ));
+
   }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: