From: hickert Date: Mon, 15 Mar 2010 14:21:04 +0000 (+0000) Subject: Updated filter for sudo roles X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fa5a96162cb243147979eb59eb73a2f288b07739;p=gosa.git Updated filter for sudo roles git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16530 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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} +
+ +