From 7e1f4856a3fb43bb25d8dcd53a24c87d13bc86eb Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 22 Apr 2010 08:38:02 +0000 Subject: [PATCH] Updated get_permissions - Respect 'filter' restrictions for reset ACLs too. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17788 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_userinfo.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 80c0440f1..fefdb397c 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -448,12 +448,6 @@ class userinfo /* Inspect this ACL, place the result into ACL */ foreach ($ACL[$cpath] as $subacl){ - /* Reset? Just clean the ACL and turn over to the next one... */ - if ($subacl['type'] == 'reset'){ - $acl= $this->cleanACL($acl, TRUE); - continue; - } - if($subacl['type'] == "role") { echo "role skipped"; continue; @@ -470,6 +464,12 @@ class userinfo } } + /* Reset? Just clean the ACL and turn over to the next one... */ + if ($subacl['type'] == 'reset'){ + $acl= $this->cleanACL($acl, TRUE); + continue; + } + /* Self ACLs? */ if($dn != $this->dn && isset($subacl['acl'][$object][0]) && (strpos($subacl['acl'][$object][0],"s") !== FALSE)){ -- 2.30.2