Code

Added storage RDN properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:06:29 +0000 (13:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:06:29 +0000 (13:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18247 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc

index 4c89157c54b5a2c2e106ebbe8f0222600636102a..d2f9487b768b9e38c9050de67da7d3db9968b375 100644 (file)
@@ -435,23 +435,37 @@ class roleGeneric extends plugin {
  
   static function plInfo()
   {
-    return (array(
-          "plShortName"   => _("Generic"),
-          "plDescription" => _("Role generic"),
-          "plSelfModify"  => FALSE,
-          "plDepends"     => array(),
-          "plPriority"    => 1,
-          "plSection"     => array("administration"),
-          "plCategory"    => array("roles" => array("description"  => _("Roles"),
-              "objectClass"  => "organizationalRole")),
+      return (array(
+                  "plShortName"   => _("Generic"),
+                  "plDescription" => _("Role generic"),
+                  "plSelfModify"  => FALSE,
+                  "plDepends"     => array(),
+                  "plPriority"    => 1,
+                  "plSection"     => array("administration"),
+                  "plCategory"    => array("roles" => array("description"  => _("Roles"),
+                          "objectClass"  => "organizationalRole")),
+
+                  "plProperties" => 
+                  array(                        
+                      array(
+                          "name"          => "roleRDN",
+                          "type"          => "rdn",
+                          "default"       => "ou=roles,",
+                          "description"   => "The 'roleRDN' statement defines the location where new roles will be created. The default is 'ou=roles,'.",
+                          "check"         => "gosaProperty::isRdn",
+                          "migrate"       => "",
+                          "group"         => "plugin",
+                          "mandatory"     => FALSE)
+                      ),
+
           "plProvidedAcls"=> array(
-            "cn"                => _("Name"),
-            "description" => _("Description"),
-            "base" => _("Base"),
-            "telephoneNumber" => _("Telefon number"),
-            "facsimileTelephoneNumber" => _("Fax number"),
-            "roleOccupant" => _("Occupants"))
-          ));
+                  "cn"                => _("Name"),
+                  "description" => _("Description"),
+                  "base" => _("Base"),
+                  "telephoneNumber" => _("Telefon number"),
+                  "facsimileTelephoneNumber" => _("Fax number"),
+                  "roleOccupant" => _("Occupants"))
+              ));
   }
 }