From: hickert Date: Mon, 8 Mar 2010 08:07:42 +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=6a5b6939bf044297cb6b524d5e1c8e81967ffc15;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/admin/fai/class_filterFAI.inc dn and check if there is a -r- in the result. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16328 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_filterFAI.inc b/gosa-plugins/fai/admin/fai/class_filterFAI.inc index 5524e0c1f..be3789321 100644 --- a/gosa-plugins/fai/admin/fai/class_filterFAI.inc +++ b/gosa-plugins/fai/admin/fai/class_filterFAI.inc @@ -2,7 +2,7 @@ class filterFAI extends filterLDAP{ - static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "") + static function query($parent,$base, $scope, $filter, $attributes, $category, $objectStorage= "") { /* Create a new list of FAI object * Generate List of Partitions,Hooks,Scripts,Templates,Profiles ...