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:07:55 +0000 (08:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Mar 2010 08:07:55 +0000 (08:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@16333 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsiLicenses/class_filterOpsiLicense.inc

index 10d0e19588d7a5eacac7645da3e993cc11ebae2d..70f96a937377eb1d421b26996a6434b124d1d2a0 100644 (file)
@@ -2,7 +2,7 @@
 
 class filterOpsiLicense {
 
-  static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+  static function query($parent,$base, $scope, $filter, $attributes, $category, $objectStorage= "")
   {
 
     if(!class_available('opsi')) return(array());
@@ -10,7 +10,7 @@ class filterOpsiLicense {
     $config= session::global_get('config');
     $ldap= $config->get_ldap_link(TRUE);
     $flag= ($scope == "sub")?GL_SUBSEARCH:0;
-    $result= filterOpsiLicense::get_list($base, $filter, $attributes, $category, $objectStorage, $flag);
+    $result= filterOpsiLicense::get_list($parent,$base, $filter, $attributes, $category, $objectStorage, $flag);
 
     // Simple filtering 
     if(!empty($filter)){
@@ -24,7 +24,7 @@ class filterOpsiLicense {
     return(filterACL::unifyResult($result));
   }
 
-  static function get_list($base, $filter, $attributes, $category, $objectStorage, $flags= GL_SUBSEARCH)
+  static function get_list($parent,$base, $filter, $attributes, $category, $objectStorage, $flags= GL_SUBSEARCH)
   {
     $config= session::global_get('config');
     $si = new opsiLicenceHandler($config);