From 1c81ff30df8773479db03a7ec918ef94358f8e7f Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 19 Jun 2008 12:38:20 +0000 Subject: [PATCH] Updated ACL check. - Non permanent ACLs were lost if the base contained a , git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11380 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 230bdf131..957dc78f6 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -314,9 +314,6 @@ class userinfo $cpath= ""; foreach ($path as $element){ - /* Clean potential ACLs for each level */ - $acl= $this->cleanACL($acl); - if ($cpath == ""){ $cpath= $element; } else { @@ -324,6 +321,9 @@ class userinfo } if (isset($this->ACL[$cpath])){ + /* Clean potential ACLs for each level */ + $acl= $this->cleanACL($acl); + /* Inspect this ACL, place the result into ACL */ foreach ($this->ACL[$cpath] as $subacl){ -- 2.30.2