Code

Fixed acl handling in lists.n -Acls were not checked correctl. If we had permissions...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Mar 2010 08:08:00 +0000 (08:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Mar 2010 08:08:00 +0000 (08:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16335 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc

index 83e126b9c6a06a47b07dda553c66e8c7a8707c60..178dee31c591f033879e311621bd46d3a42e52e3 100644 (file)
@@ -2,7 +2,7 @@
 
 class filterSYSTEMS {
 
-  static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+  static function query($parent,$base, $scope, $filter, $attributes, $category, $objectStorage= "")
   {
     $ui = get_userinfo();
     global $config;
@@ -10,7 +10,7 @@ class filterSYSTEMS {
     // Check whether the arp handling active or not
     $arp_handling_active = ($config->search("ArpNewDevice","CLASS",array('tabs')) != "");
 
-    $entries = filterLDAP::query($base, $scope, $filter, $attributes, $category, $objectStorage);
+    $entries = filterLDAP::query($parent,$base, $scope, $filter, $attributes, $category, $objectStorage);
     foreach($entries as $key => $entry){
       if(preg_match("/".preg_quote(get_ou('systemIncomingRDN'),'/')."/i", $entry['dn'])){