Code

Made connectivity kolabAccount compatible with new acls
[gosa.git] / plugins / personal / connectivity / class_phpscheduleitAccount.inc
index 4e1f48e441e76d496022f99111c590b8d52e5e4a..e6dbb2a7050835717d600b9797844c8dd4a5a50f 100644 (file)
@@ -129,15 +129,25 @@ class phpscheduleitAccount extends plugin
 
   }
 
+
+  /* Return plugin informations for acl handling 
+      #FIXME This is only an enable/disable checkbox for this account, there is possibly a better solution available later */
   function plInfo()
   {
-    return (array(  "plDescription"   => _("PHPscheduleit account"),
+    return (array(
+          "plShortName"     => _("PHP Schedule it"),
+          "plDescription"   => _("PHP Schedule it settings"),
           "plSelfModify"    => TRUE,
-          "plDepends"       => array("objectClass" => "gosaAccount"),
-          "phpscheduleitAccount" => "PHPscheduleit account"));
+          "plDepends"       => array("connectivity"),
+          "plPriority"      => 6,                                 // Position in tabs
+          "plSection"       => "personal",                        // This belongs to personal
+          "plCategory"      => array("gosaAccount"),
+          "plOptions"       => array(),
+
+          "plProvidedAcls"  => array(
+            "phpscheduleitAccount" => "!!! FIXME "._("PHPscheduleit account"))
+          ));
   }
-
-
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: