Code

Updated department acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Jul 2008 13:35:28 +0000 (13:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 16 Jul 2008 13:35:28 +0000 (13:35 +0000)
- Fixed order of department object ACLs.
- Fixed Tab initiaization

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11687 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_countryGeneric.inc
gosa-core/plugins/admin/departments/class_dcObject.inc
gosa-core/plugins/admin/departments/class_departmentManagement.inc
gosa-core/plugins/admin/departments/class_localityGeneric.inc
gosa-core/plugins/admin/departments/class_organizationGeneric.inc

index 3bf6f2f801bb9af479bd5858df556395260f0838..32e2ad7619d1906ba6df79900772b1a14d3b21a0 100644 (file)
@@ -83,13 +83,10 @@ class country extends department
           "plCategory"    => array("department"),
 
           "plProvidedAcls" => array(
-#            "searchGuide"                => _("Search guide"),
-#            "seeAlso"                    => _("See also"),
-            "street"            => _("Street"),
-            "base"              => _("Base"),
-            "gosaUnitTag"       => _("Administrative settings"),
+            "c"                 => _("Country name"),
             "description"       => _("Description"),
-            "c"                 => _("Country name")),
+            "base"              => _("Base"),
+            "gosaUnitTag"       => _("Administrative settings"))
           ));
   }
 }
index dd7d053f4284db24050e9a4e07967ade3e72d0d8..8c4916d3a70d50fa0d3e24a5c79ef6fb03091ab1 100644 (file)
@@ -82,10 +82,10 @@ class dcObject extends department
           "plCategory"    => array("department"),
 
           "plProvidedAcls" => array(
-            "base"              => _("Base"),
-            "gosaUnitTag"       => _("Administrative settings"),
+            "dc"                => _("Name"),
             "description"       => _("Description"),
-            "dc"                => _("Name")),
+            "base"              => _("Base"),
+            "gosaUnitTag"       => _("Administrative settings"))
           ));
   }
 }
index b2ef6df435f42b8bf386aa42c624fe4d565079a1..a5e1e394575174ed80628d75683752a686c86401 100644 (file)
@@ -125,7 +125,7 @@ class departmentManagement extends plugin
       if(isset($types[$type])){
         $tab = $types[$type]['TAB'];
         $acl = $types[$type]['ACL'];
-        $this->deptabs= new deptabs($this->config,$this->config->data['TABS'][$tab], $this->dn,$acl);
+        $this->deptabs= new deptabs($this->config,$this->config->data['TABS'][$tab], $this->dn,"department");
         $this->deptabs->set_acl_base($this->DivListDepartment->selectedBase);
       }else{
         trigger_error("Invalid / Not implemented countainer type.");
index f5f895cdaf5ec37f2953ebeb57ebb5fb3123d967..bf4dd26f54106b06163a9fe1e456d98053c07061 100644 (file)
@@ -83,15 +83,10 @@ class locality extends department
           "plCategory"    => array("department"),
 
           "plProvidedAcls" => array(
-
-      
-
-            "description"       => _("Description"),
             "l"                 => _("Location"),
-            "st"                => _("State"),
-
+            "description"       => _("Description"),
             "base"              => _("Base"),
-            "gosaUnitTag"       => _("Administrative settings")),
+            "gosaUnitTag"       => _("Administrative settings"))
           ));
   }
 }
index f8f1fcb54ebd14346c6a69042ff24a8673bbc02f..c9ee62a76e506f482db038ef803657be0544ad2a 100644 (file)
@@ -114,32 +114,18 @@ class organization extends department
           "plCategory"    => array("department"),
 
           "plProvidedAcls" => array(
-#            "userPassword"               => _("Password"),
-#            "searchGuide"                => _("Search guide"),
-#            "seeAlso"                    => _("See also"),
-#            "x121Address"                => _("No idea"),
-#            "registeredAddress"          => _("Registered address"),
-#            "teletexTerminalIdentifier"  => _("Teletext terminal identifier"),
-#            "physicalDeliveryOfficeName" => _("Physical delivery office name"),
-#            "internationaliSDNNumber"    => _("International ISDN number"),
-#            "preferredDeliveryMethod"    => _("Prefered delivery mode"),
-#            "telexNumber"                => _("Telex number"),
-
-
             "o"                       => _("Organization name"),
             "description"             => _("Description"),
-            "destinationIndicator"    => _("Destination indicator"),
-            "telephoneNumber"         => _("Phone number"),
-            "street"                  => _("Street"),
-            "postOfficeBox"           => _("Post office box "),
-            "postalCode"              => _("Postal code"),
-            "postalAddress"           => _("Postal address"),
-            "base"                    => _("Base"),
             "businessCategory"        => _("Category"),
+            "base"                    => _("Base"),
+
             "st"                      => _("State"),
             "l"                       => _("Location"),
-            "gosaUnitTag"             => _("Administrative settings"),
-            "facsimileTelephoneNumber"=> _("Fax"))
+            "postalAddress"           => _("Postal address"),
+            "telephoneNumber"         => _("Phone number"),
+            "facsimileTelephoneNumber"=> _("Fax"),
+
+            "gosaUnitTag"             => _("Administrative settings"))
           ));
   }