88ff5d578f4a73d051efb582e9021461542e24e6
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4 <definition>
5 <departmentBrowser>true</departmentBrowser>
6 <departmentRootVisible>false</departmentRootVisible>
7 <multiSelect>true</multiSelect>
8 <template>user-list.tpl</template>
9 <module>users</module>
10 <label>List of users</label>
12 <objectType>
13 <objectClass>gosaAccount</objectClass>
14 <image>plugins/users/images/select_user.png</image>
15 <priority>2</priority>
16 </objectType>
18 <objectType>
19 <objectClass>gosaUserTemplate</objectClass>
20 <priority>1</priority>
21 <image>plugins/users/images/select_template.png</image>
22 </objectType>
24 </definition>
26 <table>
27 <layout>|20px||145px|80px;r|</layout>
29 <column>
30 <value>%{filter:objectType(dn,objectClass)}</value>
31 </column>
33 <column>
34 <label>Name / Department</label>
35 <sortable>true</sortable>
36 <value>%{filter:link(row,pid,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
37 </column>
39 <column>
40 <label>Properties</label>
41 <sortable>false</sortable>
42 <value>%{filter:accountProperties(dn,row,objectClass)}</value>
43 </column>
45 <column>
46 <label>Actions</label>
47 <sortable>false</sortable>
48 <value>%{filter:actions()}</value>
49 </column>
51 </table>
53 <actionmenu>
54 <action>
55 <type>sub</type>
56 <image>images/lists/new.png</image>
57 <label>Create</label>
59 <action>
60 <name>create_user</name>
61 <type>entry</type>
62 <image>plugins/users/images/list_new_user.png</image>
63 <acl>users/user:c</acl>
64 <label>User</label>
65 </action>
67 <action>
68 <name>create_template</name>
69 <type>entry</type>
70 <image>images/lists/new.png</image>
71 <acl>users/user:c</acl>
72 <label>Template</label>
73 </action>
75 </action>
77 <action>
78 <type>separator</type>
79 </action>
81 <action>
82 <name>edit</name>
83 <type>entry</type>
84 <image>images/lists/edit.png</image>
85 <label>Edit</label>
86 </action>
88 <action>
89 <name>password</name>
90 <type>entry</type>
91 <image>plugins/users/images/list_password.png</image>
92 <label>Change password</label>
93 </action>
95 <action>
96 <name>remove</name>
97 <type>entry</type>
98 <image>images/lists/trash.png</image>
99 <label>Remove</label>
100 </action>
102 <action>
103 <name>templatize</name>
104 <type>entry</type>
105 <image>plugins/users/images/wizard.png</image>
106 <label>Apply template</label>
107 </action>
109 <action>
110 <type>separator</type>
111 </action>
113 <action>
114 <type>daemon</type>
115 </action>
117 <action>
118 <type>separator</type>
119 </action>
121 <action>
122 <type>copypaste</type>
123 </action>
125 <action>
126 <type>snapshot</type>
127 </action>
129 </actionmenu>
131 <actiontriggers snapshot="true" copypaste="true">
132 <action>
133 <type>copypaste</type>
134 </action>
136 <action>
137 <name>edit</name>
138 <type>entry</type>
139 <image>images/lists/edit.png</image>
140 <label>Edit user</label>
141 </action>
143 <action>
144 <name>lock</name>
145 <type>entry</type>
146 <image>%{filter:lockImage(userPassword)}</image>
147 <acl>users/password:w</acl>
148 <label>%{filter:lockLabel(userPassword)}</label>
149 </action>
151 <action>
152 <name>password</name>
153 <type>entry</type>
154 <image>plugins/users/images/list_password.png</image>
155 <acl>users/password:w</acl>
156 <label>Change password</label>
157 </action>
159 <action>
160 <type>snapshot</type>
161 </action>
163 <action>
164 <name>remove</name>
165 <type>entry</type>
166 <image>images/lists/trash.png</image>
167 <acl>users/user:d</acl>
168 <label>Remove user</label>
169 </action>
171 </actiontriggers>
173 </list>