Code

Only display Root-DSE in ACL management, if the currently selected base is the Root...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Jul 2008 08:32:58 +0000 (08:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Jul 2008 08:32:58 +0000 (08:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11600 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/acl/class_aclManagement.inc

index 2c213f90cf09c9ea64cdf3d4a9d698f14ac87ee0..d60500cee0782728f24a6b27a7b864e7a20a6b3f 100644 (file)
@@ -485,7 +485,9 @@ class aclManagement extends plugin
 
     /* Append the ldap base to be able to set alcs if there were currently no acls set 
      */
-    $res[$this->config->current["BASE"]] = array("dn"=>$this->config->current["BASE"],"ou"=>".","objectClass"=>array("gosaACL"));
+    if($base == $this->config->current['BASE']){
+      $res[$base] = array("dn"=>$this->config->current["BASE"],"ou"=>".","objectClass"=>array("gosaACL"));
+    }
 
     /* Subsearch ? */
     if($SubSearch){