Code

Added new listing property which allows to disable ACLs checks for the current listing.
[gosa.git] / gosa-core / include / class_filterNOACL.inc
1 <?php
3 class filterNOACL extends filterLDAPBlacklist{
5   static function query($base, $scope, $filter, $attributes, $category, $objectStorage= array(""))
6   {
7     $config= session::global_get('config');
8     $ldap= $config->get_ldap_link(TRUE);
9     $flag= GL_NO_ACL_CHECK | GL_SIZELIMIT | (($scope == "sub")?GL_SUBSEARCH:0);
10     $result= filterLDAP::get_list($base, $filter, $attributes, $category, $objectStorage, $flag);
11     $result = (filterLDAPBlacklist::filterByBlacklist($result));
12     return $result;
13   }
14 }
16 ?>