From: hickert Date: Mon, 10 May 2010 13:06:29 +0000 (+0000) Subject: Added storage RDN properties. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c4a05533ba44c82223b7c367711763c3ed904f1d;p=gosa.git Added storage RDN properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18247 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc index 4c89157c5..d2f9487b7 100644 --- a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc @@ -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")) + )); } }