c6b48996e13a4408705225b36d6aa54537550426
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>Users</label>
16 <objectClass>gosaAccount</objectClass>
17 <objectClass>!gosaUserTemplate</objectClass>
18 <category>users</category>
19 <class>user</class>
20 <image>plugins/users/images/select_user.png</image>
21 </objectType>
23 <objectType>
24 <label>Templates</label>
25 <objectClass>gosaUserTemplate</objectClass>
26 <category>users</category>
27 <class>user</class>
28 <image>plugins/users/images/select_template.png</image>
29 </objectType>
31 </definition>
33 <table>
34 <layout>|20px||145px|165px;r|</layout>
36 <department>
37 <value>%{filter:objectType(dn,objectClass)}</value>
38 </department>
40 <department>
41 <value>%{filter:departmentLink(row,dn,description)}</value>
42 </department>
44 <column>
45 <value>%{filter:objectType(dn,objectClass)}</value>
46 </column>
48 <column>
49 <label>Name / Department</label>
50 <sortAttribute>sn</sortAttribute>
51 <sortType>string</sortType>
52 <value>%{filter:link(row,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
53 <export>true</export>
54 </column>
56 <column>
57 <label>Properties</label>
58 <value>%{filter:accountProperties(dn,row,objectClass)}</value>
59 </column>
61 <column>
62 <label>Actions</label>
63 <value>%{filter:actions(dn,row,objectClass)}</value>
64 </column>
66 </table>
68 <actionmenu>
69 <action>
70 <type>sub</type>
71 <image>images/lists/new.png</image>
72 <label>Create</label>
74 <action>
75 <name>create_user</name>
76 <type>entry</type>
77 <image>plugins/users/images/list_new_user.png</image>
78 <acl>users/user[c]</acl>
79 <label>User</label>
80 </action>
82 <action>
83 <name>create_template</name>
84 <type>entry</type>
85 <image>images/lists/new.png</image>
86 <acl>users/user[c]</acl>
87 <label>Template</label>
88 </action>
90 </action>
92 <action>
93 <type>separator</type>
94 </action>
96 <action>
97 <name>edit</name>
98 <type>entry</type>
99 <image>images/lists/edit.png</image>
100 <label>Edit</label>
101 </action>
103 <action>
104 <name>password</name>
105 <type>entry</type>
106 <image>plugins/users/images/list_password.png</image>
107 <label>Change password</label>
108 </action>
110 <action>
111 <name>remove</name>
112 <type>entry</type>
113 <image>images/lists/trash.png</image>
114 <label>Remove</label>
115 </action>
117 <action>
118 <name>templatize</name>
119 <type>entry</type>
120 <image>plugins/users/images/wizard.png</image>
121 <label>Apply template</label>
122 </action>
124 <action>
125 <type>separator</type>
126 </action>
128 <action>
129 <type>daemon</type>
130 </action>
132 <action>
133 <type>separator</type>
134 </action>
136 <action>
137 <type>copypaste</type>
138 </action>
140 <action>
141 <type>separator</type>
142 </action>
144 <action>
145 <type>snapshot</type>
146 </action>
148 <action>
149 <type>separator</type>
150 </action>
152 <action>
153 <type>exporter</type>
154 </action>
155 </actionmenu>
157 <actiontriggers snapshot="true" copypaste="true">
158 <action>
159 <name>templatize</name>
160 <type>entry</type>
161 <objectclass>!gosaUserTemplate</objectclass>
162 <image>plugins/users/images/wizard.png</image>
163 <label>Apply template</label>
164 </action>
166 <action>
167 <type>copypaste</type>
168 </action>
170 <action>
171 <name>edit</name>
172 <type>entry</type>
173 <objectclass>gosaAccount</objectclass>
174 <image>images/lists/edit.png</image>
175 <label>Edit user</label>
176 </action>
178 <action>
179 <name>lock</name>
180 <type>entry</type>
181 <objectclass>gosaAccount</objectclass>
182 <image>%{filter:lockImage(userPassword)}</image>
183 <acl>users/password[w]</acl>
184 <label>%{filter:lockLabel(userPassword)}</label>
185 </action>
187 <action>
188 <name>password</name>
189 <type>entry</type>
190 <objectclass>gosaAccount</objectclass>
191 <image>plugins/users/images/list_password.png</image>
192 <acl>users/password[w]</acl>
193 <label>Change password</label>
194 </action>
196 <action>
197 <type>snapshot</type>
198 </action>
200 <action>
201 <name>remove</name>
202 <type>entry</type>
203 <objectclass>gosaAccount</objectclass>
204 <image>images/lists/trash.png</image>
205 <acl>users/user[d]</acl>
206 <label>Remove user</label>
207 </action>
209 </actiontriggers>
211 </list>