From 9d233a77d162ee7889e1a283536e5a61b6e8d90f Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 28 Jan 2010 08:54:54 +0000 Subject: [PATCH] Updated objectSelection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15396 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../objectSelect/class_objectSelect.inc | 1 - .../objectSelect/selectObject-filter.xml | 21 ++++++-- .../objectSelect/selectObject-list.tpl | 4 +- .../objectSelect/selectObject-list.xml | 48 +++++++++++++++++++ 4 files changed, 68 insertions(+), 6 deletions(-) diff --git a/gosa-core/plugins/admin/ogroups/objectSelect/class_objectSelect.inc b/gosa-core/plugins/admin/ogroups/objectSelect/class_objectSelect.inc index e8e6130c2..e90676e28 100644 --- a/gosa-core/plugins/admin/ogroups/objectSelect/class_objectSelect.inc +++ b/gosa-core/plugins/admin/ogroups/objectSelect/class_objectSelect.inc @@ -31,7 +31,6 @@ class objectSelect extends management $this->config = $config; $this->ui = $ui; $this->storagePoints = array( - "", get_ou("userRDN"), get_ou("groupRDN"), get_ou("terminalRDN"), diff --git a/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-filter.xml b/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-filter.xml index 7e5ecf959..be500d5ce 100644 --- a/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-filter.xml +++ b/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-filter.xml @@ -10,7 +10,18 @@ LDAPBlacklist - (&(| $DEPARTMENT $USER $GROUP $SERVER $WORKSTATION $TERMINAL $PRINTER $PHONE ) $NAME) + (&(| $USER $GROUP $SERVER $WORKSTATION $TERMINAL $PRINTER $PHONE) $NAME) + dn + objectClass + cn + sn + uid + givenName + description + + + LDAPDepartmentBlacklist + (&(| $DEPARTMENT) $NAME) dn objectClass cn @@ -29,12 +40,16 @@ 60 - (|(cn=*$*)(sn=*$*)(givenName=*$*)) + (|(cn=*$*)(sn=*$*)(givenName=*$*)(ou=*$*)(dc=*$*)(c=*$*)(l=*$*)) true LDAPBlacklist - (&(|(objectClass=gosaDepartment)(objectClass=gosaAccount)(objectClass=posixGroup)(objectClass=goServer)(objectClass=gotoWorkstation)(objectClass=gotoTerminal)(objectClass=gotoPrinter)(objectClass=goFonHardware))(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*))) + (&(|(objectClass=gosaDepartment)(objectClass=gosaAccount)(objectClass=posixGroup)(objectClass=goServer)(objectClass=gotoWorkstation)(objectClass=gotoTerminal)(objectClass=gotoPrinter)(objectClass=goFonHardware))(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*)(ou=*$NAME*)(dc=*$NAME*)(c=*$NAME*)(l=*$NAME*))) cn + l + o + dc + c 0.5 3 diff --git a/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-list.tpl b/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-list.tpl index e15cf19b6..ced417586 100644 --- a/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-list.tpl +++ b/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-list.tpl @@ -31,9 +31,9 @@

 

- +   - +

diff --git a/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-list.xml b/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-list.xml index 427dc1ee7..27e68d887 100644 --- a/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-list.xml +++ b/gosa-core/plugins/admin/ogroups/objectSelect/selectObject-list.xml @@ -11,6 +11,54 @@ 1 + + + gosaDepartment + department + department + images/lists/folder.png + + + + + goServer + server + servgeneric + plugins/systems/images/select_server.png + + + + + gotoWorkstation + workstation + workgeneric + plugins/systems/images/select_workstation.png + + + + + gotoTerminal + terminal + termgeneric + plugins/systems/images/select_terminal.png + + + + + gotoPrinter + printer + printGeneric + plugins/systems/images/select_printer.png + + + + + goFonHardware + phone + phoneGeneric + plugins/systems/images/select_phone.png + + gosaAccount -- 2.30.2