From: hickert Date: Thu, 19 Jun 2008 12:38:20 +0000 (+0000) Subject: Updated ACL check. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1c81ff30df8773479db03a7ec918ef94358f8e7f;p=gosa.git 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 --- 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){