From 50f1a978e274c25df0ab444ec9344abf0c2cf398 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 4 Nov 2009 13:18:33 +0000 Subject: [PATCH] Updated group filter. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14742 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/groups/class_groupManagement.inc | 10 +++---- .../plugins/admin/groups/group-filter.tpl | 5 ++++ .../plugins/admin/groups/group-filter.xml | 26 ++++++++++++++++++- 3 files changed, 35 insertions(+), 6 deletions(-) diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc index 0c3107aa2..f85567701 100644 --- a/gosa-core/plugins/admin/groups/class_groupManagement.inc +++ b/gosa-core/plugins/admin/groups/class_groupManagement.inc @@ -40,13 +40,13 @@ class groupManagement extends management $this->storagePoints = array(get_ou("groupRDN")); - // Build filter - if (session::global_is_set(get_class($this)."_filter")){ - $filter= session::global_get(get_class($this)."_filter"); - } else { +# // Build filter +# if (session::global_is_set(get_class($this)."_filter")){ +# $filter= session::global_get(get_class($this)."_filter"); +# } else { $filter = new filter(get_template_path("group-filter.xml", true)); $filter->setObjectStorage($this->storagePoints); - } +# } $this->setFilter($filter); // Build headpage diff --git a/gosa-core/plugins/admin/groups/group-filter.tpl b/gosa-core/plugins/admin/groups/group-filter.tpl index 52b0b7993..c7ecdbd65 100644 --- a/gosa-core/plugins/admin/groups/group-filter.tpl +++ b/gosa-core/plugins/admin/groups/group-filter.tpl @@ -9,6 +9,11 @@
+ + {$PRIMARY} 
+ {$SAMBA} 
+ {$MAIL} 
+ {$SCOPE} diff --git a/gosa-core/plugins/admin/groups/group-filter.xml b/gosa-core/plugins/admin/groups/group-filter.xml index 97b4c634a..98e296fc4 100644 --- a/gosa-core/plugins/admin/groups/group-filter.xml +++ b/gosa-core/plugins/admin/groups/group-filter.xml @@ -10,7 +10,7 @@ LDAP - (&(objectClass=posixGroup)) + (&(objectClass=posixGroup)$NAME(|$PRIMARY$MAIL$SAMBA)) dn objectClass cn @@ -19,6 +19,30 @@ auto + + checkbox + PRIMARY + + + (!(objectClass=gosaObject)) + + + + checkbox + MAIL + true + + (objectClass=gosaMailAccount) + + + + checkbox + SAMBA + true + + (objectClass=sambaGroupMapping) + + textfield NAME -- 2.30.2