ce6440e64fe9a2caa5eb525aa54ddb57cc4425ca
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4 <definition>
5 <departmentBrowser>true</departmentBrowser>
6 <departmentRootVisible>false</departmentRootVisible>
7 <baseMode>true</baseMode>
8 <multiSelect>true</multiSelect>
9 <template>user-list.tpl</template>
10 <module>users</module>
11 <label>List of users</label>
12 <defaultSortColumn>1</defaultSortColumn>
14 <objectType>
15 <label>Template</label>
16 <objectClass>gosaUserTemplate</objectClass>
17 <category>users</category>
18 <class>user</class>
19 <image>plugins/users/images/select_template.png</image>
20 </objectType>
22 <objectType>
23 <label>User</label>
24 <objectClass>gosaAccount</objectClass>
25 <category>users</category>
26 <class>user</class>
27 <image>plugins/users/images/select_user.png</image>
28 </objectType>
30 </definition>
32 <table>
33 <layout>|20px||260px|200px;r|</layout>
35 <department>
36 <value>%{filter:objectType(dn,objectClass)}</value>
37 </department>
39 <department>
40 <value>%{filter:departmentLink(row,dn,description)}</value>
41 <span>3</span>
42 </department>
44 <column>
45 <value>%{filter:objectType(dn,objectClass)}</value>
46 </column>
48 <column>
49 <label>Given name</label>
50 <sortAttribute>givenName</sortAttribute>
51 <sortType>string</sortType>
52 <value>%{filter:link(row,dn,"%s",givenName)}</value>
53 <export>true</export>
54 </column>
56 <column>
57 <label>Surname</label>
58 <sortAttribute>sn</sortAttribute>
59 <sortType>string</sortType>
60 <value>%{filter:link(row,dn,"%s",sn)}</value>
61 <export>true</export>
62 </column>
64 <column>
65 <label>Actions</label>
66 <value>%{filter:actions(dn,row,objectClass)}</value>
67 </column>
69 </table>
71 <actionmenu>
73 <action>
74 <type>sub</type>
75 <image>images/lists/new.png</image>
76 <label>Create</label>
78 <action>
79 <name>new</name>
80 <type>entry</type>
81 <image>plugins/users/images/list_new_user.png</image>
82 <label>User</label>
83 </action>
85 <action>
86 <name>new_template</name>
87 <type>entry</type>
88 <image>plugins/users/images/select_template.png</image>
89 <label>Template</label>
90 </action>
91 </action>
93 <action>
94 <type>separator</type>
95 </action>
97 <action>
98 <name>edit</name>
99 <type>entry</type>
100 <image>images/lists/edit.png</image>
101 <label>Edit</label>
102 </action>
104 <action>
105 <name>remove</name>
106 <type>entry</type>
107 <image>images/lists/trash.png</image>
108 <label>Remove</label>
109 </action>
111 <action>
112 <type>separator</type>
113 </action>
115 <action>
116 <name>lockUsers</name>
117 <type>entry</type>
118 <image>images/lists/locked.png</image>
119 <acl>uniBonnAccount/password[w]</acl>
120 <label>Lock users</label>
121 </action>
123 <action>
124 <name>unlockUsers</name>
125 <type>entry</type>
126 <image>images/lists/unlocked.png</image>
127 <acl>uniBonnAccount/password[w]</acl>
128 <label>Unlock users</label>
129 </action>
131 <action>
132 <name>sendMessage</name>
133 <type>entry</type>
134 <image>plugins/goto/images/notify.png</image>
135 <label>Send message</label>
136 </action>
138 <action>
139 <type>separator</type>
140 </action>
142 <action>
143 <name>templatize</name>
144 <type>entry</type>
145 <image>plugins/users/images/wizard.png</image>
146 <label>Apply template</label>
147 </action>
149 <action>
150 <type>separator</type>
151 </action>
153 <action>
154 <type>exporter</type>
155 </action>
157 <action>
158 <type>separator</type>
159 </action>
161 <action>
162 <type>copypaste</type>
163 </action>
165 <action>
166 <type>snapshot</type>
167 </action>
169 </actionmenu>
171 <actiontriggers snapshot="true" copypaste="true">
173 <action>
174 <name>newfromtpl</name>
175 <type>entry</type>
176 <image>images/lists/new.png</image>
177 <objectclass>gosaUserTemplate</objectclass>
178 <label>New user from template</label>
179 </action>
181 <action>
182 <name>cp</name>
183 <objectclass>!gosaUserTemplate</objectclass>
184 <type>copypaste</type>
185 </action>
187 <action>
188 <name>edit</name>
189 <type>entry</type>
190 <objectclass>gosaAccount</objectclass>
191 <image>images/lists/edit.png</image>
192 <label>Edit user</label>
193 </action>
195 <action>
196 <name>lock</name>
197 <type>entry</type>
198 <objectclass>!gosaUserTemplate</objectclass>
199 <image>%{filter:lockImage(userPassword)}</image>
200 <acl>uniBonnAccount/password[w]</acl>
201 <label>%{filter:lockLabel(userPassword)}</label>
202 </action>
204 <action>
205 <name>password</name>
206 <type>entry</type>
207 <objectclass>!gosaUserTemplate</objectclass>
208 <image>plugins/users/images/list_password.png</image>
209 <label>Change password</label>
210 </action>
212 <action>
213 <name>snapshot</name>
214 <type>snapshot</type>
215 <objectclass>!gosaUserTemplate</objectclass>
216 </action>
218 <action>
219 <name>remove</name>
220 <type>entry</type>
221 <image>images/lists/trash.png</image>
222 <objectclass>gosaAccount</objectclass>
223 <acl>users/user[d]</acl>
224 <label>Remove user</label>
225 </action>
227 </actiontriggers>
229 </list>