From 9c209c03d1596e63622d519b46ab2f4143d4e99b Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 8 Mar 2010 08:07:31 +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/include/class_listing.inc dn and check if there is a -r- in the result. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16324 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 7ec88be52..f49960ad0 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -124,6 +124,7 @@ class listing { function setFilter($filter) { $this->filter= &$filter; + $filter->headpage = &$this; if ($this->departmentBrowser){ $this->departments= $this->getDepartments(); } -- 2.30.2