From: hickert Date: Mon, 23 Apr 2007 10:04:02 +0000 (+0000) Subject: Skip roles when resolving acls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0c8872a1e9a1ec505c3a72a430fd25b23fddd177;p=gosa.git Skip roles when resolving acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6171 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_userinfo.inc b/include/class_userinfo.inc index c25cab419..9ceefc964 100644 --- a/include/class_userinfo.inc +++ b/include/class_userinfo.inc @@ -182,6 +182,11 @@ class userinfo continue; } + if($subacl['type'] == "role") { + echo "role skipped"; + continue; + } + /* Per attribute ACL? */ if (isset($subacl['acl'][$object][$attribute])){ $acl= $this->mergeACL($acl, $subacl['type'], $subacl['acl'][$object][$attribute]); @@ -286,6 +291,11 @@ class userinfo $acl= $this->cleanACL($acl, TRUE); continue; } + + if($subacl['type'] == 'role'){ + echo "role skipped"; + continue; + } /* Per object ACL? */ foreach ($objects as $object){