Code

169ac13bb9fba6767cb4622e95518c082e912f32
[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       <label>Users</label>
14       <objectClass>gosaAccount</objectClass>
15       <objectClass>!gosaUserTemplate</objectClass>
16       <image>plugins/users/images/select_user.png</image>
17     </objectType>
19     <objectType>
20       <label>Templates</label>
21       <objectClass>gosaUserTemplate</objectClass>
22       <image>plugins/users/images/select_template.png</image>
23     </objectType>
25   </definition>
27   <table>
28     <layout>|20px||145px|100px;r|</layout>
30     <column>
31       <value>%{filter:objectType(dn,objectClass)}</value>
32     </column>
34     <column>
35       <label>Name / Department</label>
36       <sortable>true</sortable>
37       <value>%{filter:link(row,pid,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
38     </column>
40     <column>
41       <label>Properties</label>
42       <sortable>false</sortable>
43       <value>%{filter:accountProperties(dn,row,objectClass)}</value>
44     </column>
46     <column>
47       <label>Actions</label>
48       <sortable>false</sortable>
49       <value>%{filter:actions(dn,row,objectClass)}</value>
50     </column>
52   </table>
54   <actionmenu>
55     <action>
56       <type>sub</type>
57       <image>images/lists/new.png</image>
58       <label>Create</label>
60       <action>
61         <name>create_user</name>
62         <type>entry</type>
63         <image>plugins/users/images/list_new_user.png</image>
64         <acl>users/user[c]</acl>
65         <label>User</label>
66       </action>
68       <action>
69         <name>create_template</name>
70         <type>entry</type>
71         <image>images/lists/new.png</image>
72         <acl>users/user[c]</acl>
73         <label>Template</label>
74       </action>
76     </action>
78     <action>
79       <type>separator</type>
80     </action>
82     <action>
83       <name>edit</name>
84       <type>entry</type>
85       <image>images/lists/edit.png</image>
86       <label>Edit</label>
87     </action>
89     <action>
90       <name>password</name>
91       <type>entry</type>
92       <image>plugins/users/images/list_password.png</image>
93       <label>Change password</label>
94     </action>
96     <action>
97       <name>remove</name>
98       <type>entry</type>
99       <image>images/lists/trash.png</image>
100       <label>Remove</label>
101     </action>
103     <action>
104       <name>templatize</name>
105       <type>entry</type>
106       <image>plugins/users/images/wizard.png</image>
107       <label>Apply template</label>
108     </action>
110     <action>
111       <type>separator</type>
112     </action>
114     <action>
115       <type>daemon</type>
116     </action>
118     <action>
119       <type>separator</type>
120     </action>
122     <action>
123       <type>copypaste</type>
124     </action>
126     <action>
127       <type>snapshot</type>
128     </action>
130   </actionmenu>
132   <actiontriggers snapshot="true" copypaste="true">
133     <action>
134       <type>copypaste</type>
135     </action>
137     <action>
138       <name>templatize</name>
139       <type>entry</type>
140       <objectclass>!gosaUserTemplate</objectclass>
141       <image>plugins/users/images/wizard.png</image>
142       <label>Apply template</label>
143     </action>
145     <action>
146       <name>edit</name>
147       <type>entry</type>
148       <objectclass>gosaAccount</objectclass>
149       <image>images/lists/edit.png</image>
150       <label>Edit user</label>
151     </action>
153     <action>
154       <name>lock</name>
155       <type>entry</type>
156       <objectclass>gosaAccount</objectclass>
157       <image>%{filter:lockImage(userPassword)}</image>
158       <acl>users/password[w]</acl>
159       <label>%{filter:lockLabel(userPassword)}</label>
160     </action>
162     <action>
163       <name>password</name>
164       <type>entry</type>
165       <objectclass>gosaAccount</objectclass>
166       <image>plugins/users/images/list_password.png</image>
167       <acl>users/password[w]</acl>
168       <label>Change password</label>
169     </action>
171     <action>
172       <type>snapshot</type>
173     </action>
175     <action>
176       <name>remove</name>
177       <type>entry</type>
178       <objectclass>gosaAccount</objectclass>
179       <image>images/lists/trash.png</image>
180       <acl>users/user[d]</acl>
181       <label>Remove user</label>
182     </action>
184   </actiontriggers>
186 </list>