Code

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

plugins/personal/posix/class_posixAccount.inc

index 748b23cf112254093983cf53c84910432f148b87..70ccf42cfe50776e55967900ee6b6eca5cb0a865 100644 (file)
@@ -1216,30 +1216,33 @@ class posixAccount extends plugin
 
   function plInfo()
   {
-    return (array("plDescription" => _("POSIX account"),
-          "plSelfModify" => TRUE,
-          "plDepends" => array("objectClass" => "gosaAccount"),
-
-          "homeDirectory"       =>  _("Home directory"), 
-          "uidNumber"           =>  _("User ID"),
-          "gidNumber"           =>  _("Group ID"),
-          "homeDirectory"       =>  _("Home directory"),
-          "primaryGroup"        =>  _("Primary group"),
-
-          "loginShell"          =>  _("Shell"),
-//          "gecos"               =>  _(""),
-
-          "shadowMin"           =>  _("Shadow min"),
-          "shadowMax"           =>  _("Shadow max"),
-          "shadowWarning"       =>  _("Shadow warning"),
-          "shadowInactive"      =>  _("Shadow inactive"),
-          "shadowLastChange"    =>  _("Shadow last change"),
-
-          "shadowExpire"        =>  _("Shadow expire"),
-          //"gosaDefaultPrinter"  =>  _(""),
-          //"gosaDefaultLanguage" =>  _(""), 
-          "accessTo"            =>  _("System trust"),
-          "trustModel"          =>  _("System trust model"))) ;
+    return (array(
+          "plDescription"     => _("POSIX account"),
+          "plSelfModify"      => TRUE,
+          "plDepends"         => array("user"),
+          "plPriority"        => 1,
+          "plSection"         => "personal", 
+          "plCategory"        => array("users"),
+          "plOptions"         => array(),
+
+          "plProvidedAcls"  => array(
+            "homeDirectory"       =>  _("Home directory"), 
+            "uidNumber"           =>  _("User ID"),
+            "gidNumber"           =>  _("Group ID"),
+            "homeDirectory"       =>  _("Home directory"),
+            "primaryGroup"        =>  _("Primary group"),
+
+            "loginShell"          =>  _("Shell"),
+            "shadowMin"           =>  _("Shadow min"),
+            "shadowMax"           =>  _("Shadow max"),
+            "shadowWarning"       =>  _("Shadow warning"),
+            "shadowInactive"      =>  _("Shadow inactive"),
+            "shadowLastChange"    =>  _("Shadow last change"),
+
+            "shadowExpire"        =>  _("Shadow expire"),
+            "accessTo"            =>  _("System trust"),
+            "trustModel"          =>  _("System trust model")))
+           ) ;
   }
 }