From c91fdbafed2d646d40f920c7376803546724745e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Jan 2010 09:50:01 +0000 Subject: [PATCH] Updated user/group select dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15355 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../groups/userGroupSelect/class_userGroupSelect.inc | 10 +++++----- .../groups/userGroupSelect/selectUserGroup-filter.xml | 6 +++--- .../groups/userGroupSelect/selectUserGroup-list.tpl | 4 ++-- .../groups/userGroupSelect/selectUserGroup-list.xml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gosa-core/plugins/admin/groups/userGroupSelect/class_userGroupSelect.inc b/gosa-core/plugins/admin/groups/userGroupSelect/class_userGroupSelect.inc index 7fe7a1bdb..b3fc8d7b1 100644 --- a/gosa-core/plugins/admin/groups/userGroupSelect/class_userGroupSelect.inc +++ b/gosa-core/plugins/admin/groups/userGroupSelect/class_userGroupSelect.inc @@ -32,13 +32,13 @@ class userGroupSelect extends management $this->ui = $ui; $this->storagePoints = array(get_ou("userRDN"), 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("selectUserGroup-filter.xml", true, dirname(__FILE__))); $filter->setObjectStorage($this->storagePoints); - } + #} $this->setFilter($filter); // Build headpage diff --git a/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-filter.xml b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-filter.xml index 659bead16..396b912a9 100644 --- a/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-filter.xml +++ b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-filter.xml @@ -3,13 +3,13 @@ users - + true - LDAP + LDAPBlacklist (&(|$USER $GROUP ) $NAME) dn objectClass @@ -33,7 +33,7 @@ (|(cn=*$*)(sn=*$*)(givenName=*$*)) true - LDAP + LDAPBlacklist (&(objectClass=gosaAccount)(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*))) cn 0.5 diff --git a/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.tpl b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.tpl index 8d47ea430..e15cf19b6 100644 --- a/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.tpl +++ b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.tpl @@ -31,9 +31,9 @@

 

- +   - +

diff --git a/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.xml b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.xml index 24cc211fe..6d519c414 100644 --- a/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.xml +++ b/gosa-core/plugins/admin/groups/userGroupSelect/selectUserGroup-list.xml @@ -6,7 +6,7 @@ false true true - + users 1 -- 2.30.2