From 77d90cab95f9fc5eccca2b75a91288cfc1ce9a8f Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 8 Mar 2010 08:07:48 +0000 Subject: [PATCH] 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/packageSelect/class_filterFAIPackages.inc dn and check if there is a -r- in the result. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16330 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../fai/admin/fai/packageSelect/class_filterFAIPackages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/packageSelect/class_filterFAIPackages.inc b/gosa-plugins/fai/admin/fai/packageSelect/class_filterFAIPackages.inc index 5dd6232a4..74545febf 100644 --- a/gosa-plugins/fai/admin/fai/packageSelect/class_filterFAIPackages.inc +++ b/gosa-plugins/fai/admin/fai/packageSelect/class_filterFAIPackages.inc @@ -2,7 +2,7 @@ class filterFAIPackages { - static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "") + static function query($parent,$base, $scope, $filter, $attributes, $category, $objectStorage= "") { $filter= preg_replace('/\*/', '', $filter); $pkgs = array(); -- 2.30.2