Code

Updated filter list
[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>users/user: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>users/user: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       <label>Edit</label>
86     </action>
88     <action>
89       <name>password</name>
90       <type>entry</type>
91       <image>plugins/users/images/list_password.png</timage>
92       <label>Change password</label>
93     </action>
95     <action>
96       <name>remove</name>
97       <type>entry</type>
98       <image>images/lists/trash.png</timage>
99       <label>Remove</label>
100     </action>
102     <action>
103       <name>templatize</name>
104       <type>entry</type>
105       <image>plugins/users/images/wizard.png</timage>
106       <label>Apply template</label>
107     </action>
109     <action>
110       <type>separator</type>
111     </action>
113     <action>
114       <type>daemon</type>
115     </action>
117     <action>
118       <type>separator</type>
119     </action>
121     <action>
122       <type>copypaste</type>
123     </action>
125     <action>
126       <type>snapshot</type>
127     </action>
129   </actionmenu>
131   <actiontriggers snapshot="true" copypaste="true">
132     <action>
133       <type>copypaste</type>
134     </action>
136     <action>
137       <name>edit</name>
138       <type>entry</type>
139       <image>images/lists/edit.png</timage>
140       <acl>w</acl>
141       <label>Edit user</label>
142     </action>
144     <action>
145       <name>lock</name>
146       <type>entry</type>
147       <image>%{filter:lockImage(userPassword)}</timage>
148       <acl>users/password:w</acl>
149       <label>%{filter:lockLabel(userPassword)}</label>
150     </action>
152     <action>
153       <name>password</name>
154       <type>entry</type>
155       <image>plugins/users/images/list_password.png</timage>
156       <acl>users/password:w</acl>
157       <label>Change password</label>
158     </action>
160     <action>
161       <type>snapshot</type>
162     </action>
164     <action>
165       <name>remove</name>
166       <type>entry</type>
167       <image>images/lists/trash.png</timage>
168       <acl>d</acl>
169       <label>Remove user</label>
170     </action>
172   </actiontriggers>
174 </list>