d0b8efc33136204530be8744cb567d7eb0f68f57
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||200px|150px|180px;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>Surname</label>
50 <sortAttribute>sn</sortAttribute>
51 <sortType>string</sortType>
52 <value>%{filter:link(row,dn,"%s",sn)}</value>
53 <export>true</export>
54 </column>
56 <column>
57 <label>Given name</label>
58 <sortAttribute>givenName</sortAttribute>
59 <sortType>string</sortType>
60 <value>%{filter:link(row,dn,"%s",givenName)}</value>
61 <export>true</export>
62 </column>
64 <column>
65 <label>Login</label>
66 <sortAttribute>uid</sortAttribute>
67 <sortType>string</sortType>
68 <value>%{filter:link(row,dn,"%s",uid)}</value>
69 <export>true</export>
70 </column>
72 <column>
73 <label>Actions</label>
74 <value>%{filter:actions(dn,row,objectClass)}</value>
75 </column>
77 </table>
79 <actionmenu>
81 <action>
82 <type>sub</type>
83 <image>images/lists/new.png</image>
84 <label>Create</label>
86 <action>
87 <name>new</name>
88 <type>entry</type>
89 <image>plugins/users/images/list_new_user.png</image>
90 <label>User</label>
91 </action>
93 <action>
94 <name>new_template</name>
95 <type>entry</type>
96 <image>plugins/users/images/select_template.png</image>
97 <label>Template</label>
98 </action>
99 </action>
101 <action>
102 <type>separator</type>
103 </action>
105 <action>
106 <name>edit</name>
107 <type>entry</type>
108 <image>images/lists/edit.png</image>
109 <label>Edit</label>
110 </action>
112 <action>
113 <name>remove</name>
114 <type>entry</type>
115 <image>images/lists/trash.png</image>
116 <label>Remove</label>
117 </action>
119 <action>
120 <name>password</name>
121 <type>entry</type>
122 <image>plugins/users/images/list_password.png</image>
123 <label>Change password</label>
124 </action>
126 <action>
127 <type>separator</type>
128 </action>
130 <action>
131 <name>lockUsers</name>
132 <type>entry</type>
133 <image>images/lists/locked.png</image>
134 <acl>uniBonnAccount/password[w]</acl>
135 <label>Lock users</label>
136 </action>
138 <action>
139 <name>unlockUsers</name>
140 <type>entry</type>
141 <image>images/lists/unlocked.png</image>
142 <acl>uniBonnAccount/password[w]</acl>
143 <label>Unlock users</label>
144 </action>
146 <action>
147 <name>sendMessage</name>
148 <type>entry</type>
149 <depends>goto</depends>
150 <image>plugins/goto/images/notify.png</image>
151 <label>Send message</label>
152 </action>
154 <action>
155 <type>separator</type>
156 </action>
158 <action>
159 <name>templatize</name>
160 <type>entry</type>
161 <image>plugins/users/images/wizard.png</image>
162 <label>Apply template</label>
163 </action>
165 <action>
166 <type>separator</type>
167 </action>
169 <action>
170 <type>exporter</type>
171 </action>
173 <action>
174 <type>separator</type>
175 </action>
177 <action>
178 <type>copypaste</type>
179 </action>
181 <action>
182 <type>snapshot</type>
183 </action>
185 </actionmenu>
187 <actiontriggers snapshot="true" copypaste="true">
189 <action>
190 <name>newfromtpl</name>
191 <type>entry</type>
192 <image>images/lists/new.png</image>
193 <objectclass>gosaUserTemplate</objectclass>
194 <label>New user from template</label>
195 </action>
197 <action>
198 <name>cp</name>
199 <objectclass>!gosaUserTemplate</objectclass>
200 <type>copypaste</type>
201 </action>
203 <action>
204 <name>edit</name>
205 <type>entry</type>
206 <objectclass>gosaAccount</objectclass>
207 <image>images/lists/edit.png</image>
208 <label>Edit user</label>
209 </action>
211 <action>
212 <name>lock</name>
213 <type>entry</type>
214 <objectclass>!gosaUserTemplate</objectclass>
215 <image>%{filter:lockImage(userPassword)}</image>
216 <acl>uniBonnAccount/password[w]</acl>
217 <label>%{filter:lockLabel(userPassword)}</label>
218 </action>
220 <action>
221 <name>password</name>
222 <type>entry</type>
223 <objectclass>!gosaUserTemplate</objectclass>
224 <image>plugins/users/images/list_password.png</image>
225 <label>Change password</label>
226 </action>
228 <action>
229 <name>snapshot</name>
230 <type>snapshot</type>
231 <objectclass>!gosaUserTemplate</objectclass>
232 </action>
234 <action>
235 <name>remove</name>
236 <type>entry</type>
237 <image>images/lists/trash.png</image>
238 <objectclass>gosaAccount</objectclass>
239 <acl>users/user[d]</acl>
240 <label>Remove user</label>
241 </action>
243 </actiontriggers>
245 </list>