ed2f59cc0fc13ce8fb39b151dbdf5bf8177bd30b
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 <name>new</name>
75 <type>entry</type>
76 <image>plugins/users/images/list_new_user.png</image>
77 <label>New person</label>
78 </action>
80 <action>
81 <name>new_template</name>
82 <type>entry</type>
83 <image>plugins/users/images/select_template.png</image>
84 <label>New template</label>
85 </action>
87 <action>
88 <type>separator</type>
89 </action>
91 <action>
92 <name>edit</name>
93 <type>entry</type>
94 <image>images/lists/edit.png</image>
95 <label>Edit</label>
96 </action>
98 <action>
99 <name>remove</name>
100 <type>entry</type>
101 <image>images/lists/trash.png</image>
102 <label>Remove</label>
103 </action>
105 <action>
106 <type>separator</type>
107 </action>
109 <action>
110 <name>lockUsers</name>
111 <type>entry</type>
112 <image>images/lists/locked.png</image>
113 <acl>uniBonnAccount/password[w]</acl>
114 <label>Lock users</label>
115 </action>
117 <action>
118 <name>unlockUsers</name>
119 <type>entry</type>
120 <image>images/lists/unlocked.png</image>
121 <acl>uniBonnAccount/password[w]</acl>
122 <label>Unlock users</label>
123 </action>
125 <action>
126 <name>sendMessage</name>
127 <type>entry</type>
128 <image>plugins/goto/images/notify.png</image>
129 <label>Send message</label>
130 </action>
132 <action>
133 <type>separator</type>
134 </action>
136 <action>
137 <name>templatize</name>
138 <type>entry</type>
139 <image>plugins/users/images/wizard.png</image>
140 <label>Apply template</label>
141 </action>
143 <action>
144 <type>exporter</type>
145 </action>
147 <action>
148 <type>separator</type>
149 </action>
151 <action>
152 <type>copypaste</type>
153 </action>
155 <action>
156 <type>snapshot</type>
157 </action>
158 </actionmenu>
160 <actiontriggers snapshot="true" copypaste="true">
162 <action>
163 <name>newfromtpl</name>
164 <type>entry</type>
165 <image>images/lists/new.png</image>
166 <objectclass>gosaUserTemplate</objectclass>
167 <label>New user from template</label>
168 </action>
170 <action>
171 <name>cp</name>
172 <objectclass>!gosaUserTemplate</objectclass>
173 <type>copypaste</type>
174 </action>
176 <action>
177 <name>edit</name>
178 <type>entry</type>
179 <objectclass>gosaAccount</objectclass>
180 <image>images/lists/edit.png</image>
181 <label>Edit user</label>
182 </action>
184 <action>
185 <name>lock</name>
186 <type>entry</type>
187 <objectclass>!gosaUserTemplate</objectclass>
188 <image>%{filter:lockImage(userPassword)}</image>
189 <acl>uniBonnAccount/password[w]</acl>
190 <label>%{filter:lockLabel(userPassword)}</label>
191 </action>
193 <action>
194 <name>password</name>
195 <type>entry</type>
196 <objectclass>!gosaUserTemplate</objectclass>
197 <image>plugins/users/images/list_password.png</image>
198 <label>Change password</label>
199 </action>
201 <action>
202 <name>snapshot</name>
203 <type>snapshot</type>
204 <objectclass>!gosaUserTemplate</objectclass>
205 </action>
207 <action>
208 <name>remove</name>
209 <type>entry</type>
210 <image>images/lists/trash.png</image>
211 <objectclass>gosaAccount</objectclass>
212 <acl>users/user[d]</acl>
213 <label>Remove user</label>
214 </action>
216 </actiontriggers>
218 </list>