Code

Fixed permission problem in addressbook plugin.
[gosa.git] / gosa-core / include / class_acl.inc
index ef05955b53391f0af9a2fbef0ec20f98e2cd89d6..5e4a03e3e1edbb37f685a87a3e734d8efc532e1f 100644 (file)
@@ -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])){