Code

Updated groups.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Jul 2008 13:27:03 +0000 (13:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Jul 2008 13:27:03 +0000 (13:27 +0000)
-Added initial search filter for trustmode settings.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11665 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 79de277e414234ce7371f5556f97d3c9d67c675d..2038345f86526b3c4bc38d11b294a1d5126b379a 100644 (file)
@@ -215,6 +215,15 @@ class group extends plugin
       }
     }
 
+    /* Get global filter config */
+    if (!session::is_set("sysfilter")){
+      $ui= get_userinfo();
+      $base= get_base_from_people($ui->dn);
+      $sysfilter= array( "depselect"       => $base,
+          "regex"           => "*");
+      session::set("sysfilter", $sysfilter);
+    }
+
     /* This is always an account */
     $this->is_account= TRUE;
     $this->reload();