From 56dee370a900771a400a4c7d122d20c64fe954b7 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 25 Feb 2008 14:13:15 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_acl.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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])){ -- 2.30.2