From: hickert Date: Fri, 11 Jul 2008 08:32:58 +0000 (+0000) Subject: Only display Root-DSE in ACL management, if the currently selected base is the Root... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8d0bfabd87e03d2f046bacee7e62a35657602c38;p=gosa.git Only display Root-DSE in ACL management, if the currently selected base is the Root-DSE. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11600 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index 2c213f90c..d60500cee 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -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){