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

gosa-core/plugins/admin/groups/class_filterGroupLDAP.inc

index 2176ca9a1a884b33066fc8ae70a9855cf20ab636..04806cf88bbb8a31aede3729f944debd548f04a1 100644 (file)
@@ -2,7 +2,7 @@
 
 class filterGroupLDAP {
 
-  static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+  static function query($parent,$base, $scope, $filter, $attributes, $category, $objectStorage= "")
   {
     $result= array();
     $menu= array();
@@ -10,7 +10,7 @@ class filterGroupLDAP {
     $config= session::global_get('config');
     $ldap= $config->get_ldap_link(TRUE);
     $flag= ($scope == "sub")?GL_SUBSEARCH:0;
-    $tmp= filterGroupLDAP::get_list($base, $filter, $attributes, $category, $objectStorage, $flag | GL_SIZELIMIT);
+    $tmp= filterGroupLDAP::get_list($parent,$base, $filter, $attributes, $category, $objectStorage, $flag | GL_SIZELIMIT);
 
     // Sort out menu entries, but save info
     $index= 0;
@@ -42,7 +42,7 @@ class filterGroupLDAP {
   }
 
 
-  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)
   {
     $filter= "(|(|(objectClass=gotoMenuEntry)(objectClass=gotoSubmenuEntry))$filter)";
     return filterLDAP::get_list($base, $filter, $attributes, $category, $objectStorage, $flags);