From: hickert Date: Mon, 8 Mar 2010 08:08:06 +0000 (+0000) Subject: Fixed acl handling in lists.n -Acls were not checked correctl. If we had permissions... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fb274c91c187bcb64a0939b578cf5a748ab4896c;p=gosa.git Fixed acl handling in lists.n -Acls were not checked correctl. If we had permissions to view only phones, we got all systems listed, due to the fact that get_psermission can not differentiate between object types. We have to do this manually, not just iterate through all possible combinations of acl-categrory M /root/2.6/gosa-all/gosa/plugins/personal/posix/groupSelect/class_filterLDAPBlacklist.inc dn and check if there is a -r- in the result. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16337 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/posix/groupSelect/class_filterLDAPBlacklist.inc b/gosa-core/plugins/personal/posix/groupSelect/class_filterLDAPBlacklist.inc index b78f2b287..cd150dd7e 100644 --- a/gosa-core/plugins/personal/posix/groupSelect/class_filterLDAPBlacklist.inc +++ b/gosa-core/plugins/personal/posix/groupSelect/class_filterLDAPBlacklist.inc @@ -2,9 +2,9 @@ class filterLDAPBlacklist { - static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "") + static function query($parent,$base, $scope, $filter, $attributes, $category, $objectStorage= "") { - $result = filterLDAP::query($base, $scope, $filter, $attributes, $category, $objectStorage); + $result = filterLDAP::query($parent,$base, $scope, $filter, $attributes, $category, $objectStorage); return(filterLDAPBlacklist::filterByBlacklist($result)); }