Code

Updated management
[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     <multiSelect>true</multiSelect>
8     <template>user-list.tpl</template>
9     <module>users</module>
10     <label>List of users</label>
12     <objectType>
13       <objectClass>gosaAccount</objectClass>
14       <image>plugins/users/images/select_user.png</image>
15       <priority>2</priority>
16     </objectType>
18     <objectType>
19       <objectClass>gosaUserTemplate</objectClass>
20       <priority>1</priority>
21       <image>plugins/users/images/select_template.png</image>
22     </objectType>
24   </definition>
26   <table>
27     <layout>|20px||145px|80px;r|</layout>
29     <column>
30       <value>%{filter:objectType(dn,objectClass)}</value>
31     </column>
33     <column>
34       <label>Name / Department</label>
35       <sortable>true</sortable>
36       <value>%{filter:link(row,pid,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
37     </column>
39     <column>
40       <label>Properties</label>
41       <sortable>false</sortable>
42       <value>%{filter:accountProperties(dn,row,objectClass)}</value>
43     </column>
45     <column>
46       <label>Actions</label>
47       <sortable>false</sortable>
48       <value>%{filter:actions()}</value>
49     </column>
51   </table>
53   <actionmenu>
54     <action>
55       <type>sub</type>
56       <image>images/lists/new.png</timage>
57       <label>Create</label>
59       <action>
60         <name>create_user</name>
61         <type>entry</type>
62         <image>plugins/users/images/list_new_user.png</timage>
63         <acl>c</acl>
64         <label>User</label>
65       </action>
67       <action>
68         <name>create_template</name>
69         <type>entry</type>
70         <image>images/lists/new.png</timage>
71         <acl>c</acl>
72         <label>Template</label>
73       </action>
75     </action>
77     <action>
78       <type>separator</type>
79     </action>
81     <action>
82       <name>edit</name>
83       <type>entry</type>
84       <image>images/lists/edit.png</timage>
85       <acl>rw</acl>
86       <label>Edit</label>
87     </action>
89     <action>
90       <name>password</name>
91       <type>entry</type>
92       <image>plugins/users/images/list_password.png</timage>
93       <acl>users/password:w</acl>
94       <label>Change password</label>
95     </action>
97     <action>
98       <name>remove</name>
99       <type>entry</type>
100       <image>images/lists/trash.png</timage>
101       <acl>d</acl>
102       <label>Remove</label>
103     </action>
105     <action>
106       <name>templatize</name>
107       <type>entry</type>
108       <image>plugins/users/images/wizard.png</timage>
109       <acl>w</acl>
110       <label>Apply template</label>
111     </action>
113     <action>
114       <type>separator</type>
115     </action>
117     <action>
118       <type>daemon</type>
119     </action>
121     <action>
122       <type>separator</type>
123     </action>
125     <action>
126       <type>copypaste</type>
127     </action>
129     <action>
130       <type>snapshot</type>
131     </action>
133   </actionmenu>
135   <actiontriggers snapshot="true" copypaste="true">
136     <action>
137       <type>copypaste</type>
138     </action>
140     <action>
141       <name>edit</name>
142       <type>entry</type>
143       <image>images/lists/edit.png</timage>
144       <acl>w</acl>
145       <label>Edit user</label>
146     </action>
148     <action>
149       <name>lock</name>
150       <type>entry</type>
151       <image>%{filter:lockImage(userPassword)}</timage>
152       <acl>users/password:w</acl>
153       <label>%{filter:lockLabel(userPassword)}</label>
154     </action>
156     <action>
157       <name>password</name>
158       <type>entry</type>
159       <image>plugins/users/images/list_password.png</timage>
160       <acl>users/password:w</acl>
161       <label>Change password</label>
162     </action>
164     <action>
165       <type>snapshot</type>
166     </action>
168     <action>
169       <name>remove</name>
170       <type>entry</type>
171       <image>images/lists/trash.png</timage>
172       <acl>d</acl>
173       <label>Remove user</label>
174     </action>
176   </actiontriggers>
178 </list>