From: hickert Date: Thu, 21 Jan 2010 12:43:10 +0000 (+0000) Subject: Updated user group selection dialog from sudo plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fcd39299d6003be6631ef83df12ce4c0ab3a4945;p=gosa.git Updated user group selection dialog from sudo plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15233 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/sudo/admin/sudo/selectUser-filter.tpl b/gosa-plugins/sudo/admin/sudo/selectUser-filter.tpl new file mode 100644 index 000000000..e1016c059 --- /dev/null +++ b/gosa-plugins/sudo/admin/sudo/selectUser-filter.tpl @@ -0,0 +1,37 @@ +
+

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

+
+ +
+ +
+ +{$USER} 
+{$GROUP} 
+ +
+ {$SCOPE} + + + + + + +
+ + + {$NAME} +
+ + + + + +
+ {$APPLY} +
+
diff --git a/gosa-plugins/sudo/admin/sudo/selectUser-filter.xml b/gosa-plugins/sudo/admin/sudo/selectUser-filter.xml new file mode 100644 index 000000000..c0f7c5132 --- /dev/null +++ b/gosa-plugins/sudo/admin/sudo/selectUser-filter.xml @@ -0,0 +1,60 @@ + + + + + users + + true + + + + + LDAP + (&(|$USER $GROUP ) $NAME) + dn + objectClass + cn + sn + uid + givenName + description + userPassword + + auto + + + + textfield + NAME + 20 + 60 + + + (|(cn=*$*)(sn=*$*)(givenName=*$*)) + true + + LDAP + (&(objectClass=gosaAccount)(|(cn=*$NAME*)(sn=*$NAME*)(givenName=*$NAME*))) + cn + 0.5 + 3 + + + + + checkbox + USER + true + (&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))) + + + + + checkbox + GROUP + true + + (objectClass=posixGroup) + + + diff --git a/gosa-plugins/sudo/admin/sudo/selectUser-list.tpl b/gosa-plugins/sudo/admin/sudo/selectUser-list.tpl new file mode 100644 index 000000000..b233c5874 --- /dev/null +++ b/gosa-plugins/sudo/admin/sudo/selectUser-list.tpl @@ -0,0 +1,31 @@ + + + + + + + +
+
+

 {$HEADLINE} {$SIZELIMIT}

+
+ +
+
+ + +
{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR} {t}Base{/t} {$BASE}  {$SEPARATOR}  {$ACTIONS}
+
+
+ +
+
+ + + + {$LIST} +
+ {$FILTER} +
+ + diff --git a/gosa-plugins/sudo/admin/sudo/selectUser-list.xml b/gosa-plugins/sudo/admin/sudo/selectUser-list.xml new file mode 100644 index 000000000..c4b2acd07 --- /dev/null +++ b/gosa-plugins/sudo/admin/sudo/selectUser-list.xml @@ -0,0 +1,78 @@ + + + + + true + false + true + true + + users + + 1 + + + + gosaAccount + users + user + plugins/users/images/select_user.png + + + + + posixGroup + groups + group + plugins/groups/images/groups.png + + + + + + |20px;c|220px|| + + + %{filter:objectType(dn,objectClass)} + + + + %{filter:departmentLink(row,dn,description)} + 1 + + + + %{filter:objectType(dn,objectClass)} + + + + + cn + string + %{cn} + true + + + + + description + string + %{description} + true + + +
+ + + + + + + edit + entry + gosaAccount + images/lists/edit.png + + + +