From: hickert Date: Thu, 26 Jun 2008 09:13:23 +0000 (+0000) Subject: Display all groups in acl dialog. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fbdd93c987332b6dd7d867680701d959ca364f2e;p=gosa.git Display all groups in acl dialog. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11452 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index ef05955b5..5e4a03e3e 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -92,11 +92,11 @@ class acl extends plugin /* Groups */ $ldap->cd($config->current['BASE']); - if ($tag == ""){ +# if ($tag == ""){ $ldap->search('(objectClass=posixGroup)', array('cn', 'description')); - } else { - $ldap->search('(&(objectClass=posixGroup)(gosaUnitTag='.$tag.'))', array('cn', 'description')); - } +# } else { +# $ldap->search('(&(objectClass=posixGroup)(gosaUnitTag='.$tag.'))', array('cn', 'description')); +# } while ($attrs= $ldap->fetch()){ $dsc= ""; if (isset($attrs['description'][0])){