Code

Prepared password change enforcement
[gosa.git] / gosa-core / plugins / admin / users / user-list.xml
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;c||||150px|185px;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>Properties</label>
74       <value>%{filter:filterProperties(row,objectClass)}</value>
75     </column>
77     <column>
78       <label>Actions</label>
79       <value>%{filter:actions(dn,row,objectClass)}</value>
80     </column>
82   </table>
84   <actionmenu>
86     <action>
87      <type>sub</type>
88      <image>images/lists/element.png[new]</image>
89      <label>Create</label>
91      <action>
92       <name>new</name>
93       <type>entry</type>
94       <image>plugins/users/images/select_user.png[new]</image>
95       <label>User</label>
96      </action>
98      <action>
99       <name>new_template</name>
100       <type>entry</type>
101       <image>plugins/users/images/select_template.png[new]</image>
102       <label>Template</label>
103      </action>
104     </action>
106     <action>
107       <type>separator</type>
108     </action>
110     <action>
111       <name>edit</name>
112       <type>entry</type>
113       <image>images/lists/edit.png</image>
114       <label>Edit</label>
115     </action>
117     <action>
118       <name>remove</name>
119       <type>entry</type>
120       <image>images/lists/trash.png</image>
121       <label>Remove</label>
122     </action>
124     <action>
125       <name>password</name>
126       <type>entry</type>
127       <image>plugins/users/images/list_password.png</image>
128       <label>Change password</label>
129     </action>
131     <action>
132       <type>separator</type>
133     </action>
135     <action>
136       <name>lockUsers</name>
137       <type>entry</type>
138       <image>images/lists/locked.png</image>
139       <acl>users/password[w]</acl>
140       <label>Lock users</label>
141     </action>
143     <action>
144       <name>unlockUsers</name>
145       <type>entry</type>
146       <image>images/lists/unlocked.png</image>
147       <acl>users/password[w]</acl>
148       <label>Unlock users</label>
149     </action>
151     <action>
152       <name>sendMessage</name>
153       <type>entry</type>
154       <depends>DaemonEvent_notify</depends>
155       <image>plugins/goto/images/notify.png</image>
156       <label>Send message</label>
157     </action>
159     <action>
160       <type>separator</type>
161     </action>
163     <action>
164       <name>templatize</name>
165       <type>entry</type>
166       <image>plugins/users/images/wizard.png</image>
167       <label>Apply template</label>
168     </action>
170     <action>
171       <type>separator</type>
172     </action>
174     <action>
175       <type>exporter</type>
176     </action>
178     <action>
179       <type>separator</type>
180     </action>
182     <action>
183       <type>copypaste</type>
184     </action>
186     <action>
187       <type>snapshot</type>
188     </action>
190   </actionmenu>
192   <actiontriggers snapshot="true" copypaste="true">
194     <action>
195       <name>newfromtpl</name>
196       <type>entry</type>
197       <image>images/lists/new.png</image>
198       <objectclass>gosaUserTemplate</objectclass>
199       <label>New user from template</label>
200     </action>
202     <action>
203       <name>cp</name>
204       <objectclass>!gosaUserTemplate</objectclass>
205       <type>copypaste</type>
206     </action>
208     <action>
209       <name>edit</name>
210       <type>entry</type>
211       <objectclass>gosaAccount</objectclass>
212       <image>images/lists/edit.png</image>
213       <label>Edit user</label>
214     </action>
216     <action>
217       <name>lock</name>
218       <type>entry</type>
219       <objectclass>!gosaUserTemplate</objectclass>
220       <image>%{filter:lockImage(userPassword)}</image>
221       <acl>users/password[w]</acl>
222       <label>%{filter:lockLabel(userPassword)}</label>
223     </action>
225     <action>
226       <name>password</name>
227       <type>entry</type>
228       <objectclass>!gosaUserTemplate</objectclass>
229       <image>plugins/users/images/list_password.png</image>
230       <label>Change password</label>
231     </action>
233     <action>
234       <name>snapshot</name>
235       <type>snapshot</type>
236       <objectclass>!gosaUserTemplate</objectclass>
237     </action>
239     <action>
240       <name>remove</name>
241       <type>entry</type>
242       <image>images/lists/trash.png</image>
243       <objectclass>gosaAccount</objectclass>
244       <acl>users/user[d]</acl>
245       <label>Remove user</label>
246     </action>
248   </actiontriggers>
250 </list>