From fa5a96162cb243147979eb59eb73a2f288b07739 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 15 Mar 2010 14:21:04 +0000 Subject: [PATCH] Updated filter for sudo roles git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16530 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/sudo/admin/sudo/sudo-filter.tpl | 39 ------------- gosa-plugins/sudo/admin/sudo/sudo-filter.xml | 60 +++++++------------- gosa-plugins/sudo/admin/sudo/sudo-list.tpl | 47 ++++++++------- 3 files changed, 45 insertions(+), 101 deletions(-) delete mode 100644 gosa-plugins/sudo/admin/sudo/sudo-filter.tpl diff --git a/gosa-plugins/sudo/admin/sudo/sudo-filter.tpl b/gosa-plugins/sudo/admin/sudo/sudo-filter.tpl deleted file mode 100644 index a258585d7..000000000 --- a/gosa-plugins/sudo/admin/sudo/sudo-filter.tpl +++ /dev/null @@ -1,39 +0,0 @@ -
-

- [F]{t}Filter{/t} -

-
- -
- - - - - - - - - - -
- - - {$NAME} -
- - - {$USER} -
- - - - - -
- {$APPLY} -
-
diff --git a/gosa-plugins/sudo/admin/sudo/sudo-filter.xml b/gosa-plugins/sudo/admin/sudo/sudo-filter.xml index 43f7ee850..4382f380d 100644 --- a/gosa-plugins/sudo/admin/sudo/sudo-filter.xml +++ b/gosa-plugins/sudo/admin/sudo/sudo-filter.xml @@ -1,62 +1,46 @@ + sudo - true + default + auto + dn + objectClass + cn + description + sudoUser + sudoHost + default + LDAP - (&(objectClass=sudoRole)$NAME$USER) - dn - objectClass - cn - description - sudoUser - sudoHost + (&(objectClass=sudoRole)(cn=$)) - auto - - - - textfield - NAME - 20 - 60 - - - (|(cn=*$*)(description=*$*)) - true - LDAP - (&(objectClass=sudoRole)(|(cn=*$NAME*)(description=*$NAME*))) cn - description 0.5 3 - + - - textfield - USER - 20 - 60 - - - (|(sudoHost=*$*)(sudoUser=*$*)) - true - + + byMember + + LDAP - (&(objectClass=sudoRole)(|(sudoHost=*$USER*)(sudoUser=*$USER*))) - sudoHost - sudoUser + (&(objectClass=sudoRole)(|(sudoUser=$)(sudoHost=$))) + + + cn 0.5 3 - + diff --git a/gosa-plugins/sudo/admin/sudo/sudo-list.tpl b/gosa-plugins/sudo/admin/sudo/sudo-list.tpl index 95283d917..a8712ff6f 100644 --- a/gosa-plugins/sudo/admin/sudo/sudo-list.tpl +++ b/gosa-plugins/sudo/admin/sudo/sudo-list.tpl @@ -1,28 +1,27 @@ - - - - - -
-
-

 {$HEADLINE} {$SIZELIMIT}

-
- -
-
- - -
{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR}  {$ACTIONS}
-
-
- -
-
- {$LIST} -
- {$FILTER} -
+
+ +
+

{$HEADLINE} {$SIZELIMIT}

+
+ + + + + + + + + + +
{$ROOT}{$BACK}{$HOME}{$RELOAD}{t}Base{/t} {$BASE}{$ACTIONS}{$FILTER}
+
+
+ + {$LIST} +
+ +
-- 2.30.2