summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0dec0a)
raw | patch | inline | side by side (parent: d0dec0a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Feb 2006 08:27:30 +0000 (08:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Feb 2006 08:27:30 +0000 (08:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2710 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc
index 5ae6f0dddfa91cc6dfe99966d7320419e403c4a6..66d47eb913699959c3ad785bdb181b3ad8ba6a65 100644 (file)
/* Manage group add dialog */
if ($this->group_dialog){
+ /* Get global filter config */
+ if (!is_global("groupfilter")){
+ $base= get_base_from_people($ui->dn);
+ $groupfilter= array("primarygroups" => "checked",
+ "mailgroups" => "checked",
+ "sambagroups" => "checked",
+ "appgroups" => "checked",
+ "functionalgroups" => "checked",
+ "guser" => "*",
+ "subsearch" => "",
+ "depselect" => $base,
+ "regex" => "*");
+ register_global("groupfilter", $groupfilter);
+ }
+
/* Save data */
$groupfilter= get_global("groupfilter");
foreach( array("depselect", "guser", "regex") as $type){