7ab138502011dbb2f3d9e30ca4ccff9886c66bc3
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 <type>separator</type>
127 </action>
129 <action>
130 <name>templatize</name>
131 <type>entry</type>
132 <image>plugins/users/images/wizard.png</image>
133 <label>Apply template</label>
134 </action>
136 <action>
137 <type>exporter</type>
138 </action>
139 </actionmenu>
141 <actiontriggers snapshot="true" copypaste="true">
143 <action>
144 <name>newfromtpl</name>
145 <type>entry</type>
146 <image>images/lists/new.png</image>
147 <objectclass>gosaUserTemplate</objectclass>
148 <label>New user from template</label>
149 </action>
151 <action>
152 <name>cp</name>
153 <objectclass>!gosaUserTemplate</objectclass>
154 <type>copypaste</type>
155 </action>
157 <action>
158 <name>edit</name>
159 <type>entry</type>
160 <objectclass>gosaAccount</objectclass>
161 <image>images/lists/edit.png</image>
162 <label>Edit user</label>
163 </action>
165 <action>
166 <name>lock</name>
167 <type>entry</type>
168 <objectclass>!gosaUserTemplate</objectclass>
169 <image>%{filter:lockImage(userPassword)}</image>
170 <acl>uniBonnAccount/password[w]</acl>
171 <label>%{filter:lockLabel(userPassword)}</label>
172 </action>
174 <action>
175 <name>password</name>
176 <type>entry</type>
177 <objectclass>!gosaUserTemplate</objectclass>
178 <image>plugins/users/images/list_password.png</image>
179 <label>Change password</label>
180 </action>
182 <action>
183 <name>snapshot</name>
184 <type>snapshot</type>
185 <objectclass>!gosaUserTemplate</objectclass>
186 </action>
188 <action>
189 <name>remove</name>
190 <type>entry</type>
191 <image>images/lists/trash.png</image>
192 <objectclass>gosaAccount</objectclass>
193 <acl>users/user[d]</acl>
194 <label>Remove user</label>
195 </action>
197 </actiontriggers>
199 </list>