From 8d0bfabd87e03d2f046bacee7e62a35657602c38 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 11 Jul 2008 08:32:58 +0000 Subject: [PATCH] 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 --- gosa-core/plugins/admin/acl/class_aclManagement.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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){ -- 2.30.2