Code

Updated acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Jul 2006 05:29:24 +0000 (05:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Jul 2006 05:29:24 +0000 (05:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4166 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_connectivity.inc
plugins/personal/connectivity/class_intranetAccount.inc
plugins/personal/generic/class_user.inc

index bda3bfafc3285cd4a5d5a60e88514d7a66252a51..fbf45eef1de8828cad6a7ad8f01960a01f92259e 100644 (file)
@@ -165,17 +165,22 @@ class connectivity extends plugin
   }
 
   /* Return plugin informations for acl handling 
-      #FIXME We should check here, if the user has access to sub one of the subClasses */ 
+#FIXME We should check here, if the user has access to one of the subClasses */ 
   function plInfo()
   {
     return (array(  
-          "plDescription"     => _("Connectivity extension"),
+          "plShortName"       => _("Connectivity"),
+          "plDescription"     => _("Connectivity settings"),
           "plSelfModify"      => TRUE,
-          "plDepends"         => array("objectClass" => "gosaAccount"),
-          "connectivity"      => "!!! FIXME "._("Conenctivity  account")));
+          "plDepends"         => array("user"),
+          "plPriority"        => 5,                                 // Position in tabs
+          "plSection"       => "personal",                        // This belongs to personal
+          "plCategory"      => array("gosaAccount"),
+          "plOptions"       => array(),
+          "plProvidedAcls"  => array(
+            "connectivity"      => "!!! FIXME "._("Connectivity  account"))
+          ));
   }
-
-
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index d20bd92f5f1038d1b14c5bf26638584b0edc57ce..76ef171866100fe90f7125b5976541c33754c9ab 100644 (file)
@@ -160,10 +160,19 @@ class intranetAccount extends plugin
   function plInfo()
   {
     return (array(     
+          "plShortName"     => _("Intranet"),
+          "plDepends"       => array("connectivity"),
+          "plPriority"      => 1,                                 // Position in tabs
+          "plSection"       => "personal",                        // This belongs to personal
+          "plCategory"      => array("gosaAccount"),
+          "plOptions"       => array(),
+
           "plDescription"       => _("Intranet account settings"),
           "plSelfModify"        => TRUE,
-          "plDepends"           => array("objectClass" => "gosaAccount"),
-          "gosaIntranetAccount" => "!!! FIME "._("GOsa intranet account")));
+
+          "plProvidedAcls"  => array(
+            "gosaIntranetAccount" => "!!! FIXME "._("GOsa intranet account")))
+        );
   }
 }
 
index 20b88f15c882dc4741e3fba5e78cd0ca416109dd..5f12349d0ad91083591caae19e2a0419027ae381 100644 (file)
@@ -1311,7 +1311,7 @@ class user extends plugin
         "plDepends"     => array(),
         "plPriority"    => 0,
         "plSection"     => array("personal" => _("My account")),
-        "plCategory"    => array("users" => _("Users")),
+        "plCategory"    => array("gosaAccount" => _("Users")),
 
         "plProvidedAcls" => array(
           "userPassword"      => _("User password"),