From: hickert Date: Thu, 28 Jan 2010 10:27:29 +0000 (+0000) Subject: Updated ogroup object selection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5098bf2918e31e638042ac1eaf59a5dc10622955;p=gosa.git Updated ogroup object selection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15402 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc index 75e952c14..bbee66f04 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroup.inc @@ -377,6 +377,7 @@ class ogroup extends plugin /* Manage object add dialog */ if ($this->objectSelect){ + session::set('filterBlacklist', array('dn'=> $this->member)); return($this->objectSelect->execute()); } diff --git a/gosa-core/plugins/admin/ogroups/objectSelect/class_filterLDAPDepartmentBlacklist.inc b/gosa-core/plugins/admin/ogroups/objectSelect/class_filterLDAPDepartmentBlacklist.inc index 422fc1f38..ff6c467ea 100644 --- a/gosa-core/plugins/admin/ogroups/objectSelect/class_filterLDAPDepartmentBlacklist.inc +++ b/gosa-core/plugins/admin/ogroups/objectSelect/class_filterLDAPDepartmentBlacklist.inc @@ -10,7 +10,7 @@ class filterLDAPDepartmentBlacklist extends filterLDAPBlacklist{ $entries[$key][ $entries[$key]['count'] ]= 'cn'; $entries[$key]['count'] ++; } - return($entries); + return(filterLDAPBlacklist::filterByBlacklist($entries)); } } diff --git a/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-filter.xml b/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-filter.xml index 69e2ced02..bf646d08c 100644 --- a/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-filter.xml +++ b/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-filter.xml @@ -60,7 +60,7 @@ checkbox USER - true + (&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))) @@ -68,7 +68,7 @@ checkbox GROUP - true + (objectClass=posixGroup) @@ -76,7 +76,7 @@ checkbox DEPARTMENT - true + (objectClass=gosaDepartment) @@ -84,7 +84,7 @@ checkbox SERVER - true + (objectClass=goServer) @@ -92,7 +92,7 @@ checkbox WORKSTATION - true + (objectClass=gotoWorkstation) @@ -100,7 +100,7 @@ checkbox TERMINAL - true + (objectClass=gotoTerminal) @@ -108,7 +108,7 @@ checkbox PRINTER - true + (objectClass=gotoPrinter) @@ -116,7 +116,7 @@ checkbox PHONE - true + (objectClass=goFonHardware)