Code

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

plugins/admin/applications/class_applicationGeneric.inc

index 827d0c1f3f4ee67329e4b573790bbaa058e25c38..967eaaf634992091264694944290d529e0881e14 100644 (file)
@@ -470,28 +470,35 @@ class application extends plugin
   }
 
 
-  /* Return plugin informations for acl handling */ 
+  /* Return plugin informations for acl handling
+      #FIXME FAIscript seams to ununsed within this class... */
   function plInfo()
   {
-    return (array(  
-          "plDescription"     => _("Applications"),
-          "plSelfModify"      => FALSE,
-          "plDepends"         => array("objectClass" => "gosaApplication"),
-          "cn"                => _("Name"),
-          "description"       => _("Description"),
-
-          "gosaApplicationExecute"  => _("Execute"),
-          "gosaApplicationName"     => _("Name"),
-          "gosaApplicationIcon"     => _("Icon"),
-          "gosaApplicationFlags"    => _("Flag"),
-          "gotoLogonScript"         => _("Script content"),
-
-          "exec_for_groupmembers" => _("Only executable for members"),              // G
-          "place_on_desktop"      => _("Place icon on members desktop"),            // D
-          "place_on_kicker"       => _("Place entry in members launch bar"),        // L
-          "place_in_startmenu"    => _("Place entry in members startmenu"),         // M
-          "overwrite_config"      => _("Replace user configuration on startup")));  // O
-
+    return (array(
+          "plShortName"   => _("Generic"),
+          "plDescription" => _("Application generic"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("application" => array("description"  => _("Application"),
+                                                          "objectClass"  => "gosaApplication")),
+          "plProvidedAcls"=> array(
+            "cn"                => _("Name"),
+            "description"       => _("Description"),
+            "gosaApplicationExecute"  => _("Execute"),
+            "gosaApplicationName"     => _("Name"),
+            "gosaApplicationIcon"     => _("Icon"),
+            "gosaApplicationFlags"    => _("Flag"),
+            "gotoLogonScript"         => _("Script content"),
+            "gosaApplicationParameter"=> _("Application parameter"),
+
+            "exec_for_groupmembers" => _("Only executable for members"),              // G
+            "place_on_desktop"      => _("Place icon on members desktop"),            // D
+            "place_on_kicker"       => _("Place entry in members launch bar"),        // L
+            "place_in_startmenu"    => _("Place entry in members startmenu"),         // M
+            "overwrite_config"      => _("Replace user configuration on startup"))  // O
+            ));
   }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: