From: hickert Date: Mon, 25 Feb 2008 14:13:15 +0000 (+0000) Subject: Updated ACL handling. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=56dee370a900771a400a4c7d122d20c64fe954b7;p=gosa.git Updated ACL handling. -Don't include gosaUnitTag when detecting acl roles. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9108 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index 5fd4053fc..3e4a54dcf 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -87,11 +87,11 @@ class acl extends plugin /* Roles */ $ldap->cd($config->current['BASE']); - if ($tag == ""){ +# if ($tag == ""){ $ldap->search('(objectClass=gosaRole)', array('cn', 'description','gosaAclTemplate','dn')); - } else { - $ldap->search('(&(objectClass=gosaRole)(gosaUnitTag='.$tag.'))', array('cn', 'description','gosaAclTemplate','dn')); - } +# } else { +# $ldap->search('(&(objectClass=gosaRole)(gosaUnitTag='.$tag.'))', array('cn', 'description','gosaAclTemplate','dn')); +# } while ($attrs= $ldap->fetch()){ $dsc= ""; if (isset($attrs['description'][0])){