Code

a05b6817c84b0865dc58e10d81e30c5ec4450b90
[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>Users</label>
16       <objectClass>gosaAccount</objectClass>
17       <objectClass>!gosaUserTemplate</objectClass>
18       <image>plugins/users/images/select_user.png</image>
19     </objectType>
21     <objectType>
22       <label>Templates</label>
23       <objectClass>gosaUserTemplate</objectClass>
24       <image>plugins/users/images/select_template.png</image>
25     </objectType>
27   </definition>
29   <table>
30     <layout>|20px||145px|100px;r|</layout>
32     <column>
33       <value>%{filter:objectType(dn,objectClass)}</value>
34     </column>
36     <column>
37       <label>Name / Department</label>
38       <sortAttribute>sn</sortAttribute>
39       <sortType>string</sortType>
40       <value>%{filter:link(row,pid,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
41     </column>
43     <column>
44       <label>Properties</label>
45       <value>%{filter:accountProperties(dn,row,objectClass)}</value>
46     </column>
48     <column>
49       <label>Actions</label>
50       <value>%{filter:actions(dn,row,objectClass)}</value>
51     </column>
53   </table>
55   <actionmenu>
56     <action>
57       <type>sub</type>
58       <image>images/lists/new.png</image>
59       <label>Create</label>
61       <action>
62         <name>create_user</name>
63         <type>entry</type>
64         <image>plugins/users/images/list_new_user.png</image>
65         <acl>users/user[c]</acl>
66         <label>User</label>
67       </action>
69       <action>
70         <name>create_template</name>
71         <type>entry</type>
72         <image>images/lists/new.png</image>
73         <acl>users/user[c]</acl>
74         <label>Template</label>
75       </action>
77     </action>
79     <action>
80       <type>separator</type>
81     </action>
83     <action>
84       <name>edit</name>
85       <type>entry</type>
86       <image>images/lists/edit.png</image>
87       <label>Edit</label>
88     </action>
90     <action>
91       <name>password</name>
92       <type>entry</type>
93       <image>plugins/users/images/list_password.png</image>
94       <label>Change password</label>
95     </action>
97     <action>
98       <name>remove</name>
99       <type>entry</type>
100       <image>images/lists/trash.png</image>
101       <label>Remove</label>
102     </action>
104     <action>
105       <name>templatize</name>
106       <type>entry</type>
107       <image>plugins/users/images/wizard.png</image>
108       <label>Apply template</label>
109     </action>
111     <action>
112       <type>separator</type>
113     </action>
115     <action>
116       <type>daemon</type>
117     </action>
119     <action>
120       <type>separator</type>
121     </action>
123     <action>
124       <type>copypaste</type>
125     </action>
127     <action>
128       <type>snapshot</type>
129     </action>
131   </actionmenu>
133   <actiontriggers snapshot="true" copypaste="true">
134     <action>
135       <type>copypaste</type>
136     </action>
138     <action>
139       <name>templatize</name>
140       <type>entry</type>
141       <objectclass>!gosaUserTemplate</objectclass>
142       <image>plugins/users/images/wizard.png</image>
143       <label>Apply template</label>
144     </action>
146     <action>
147       <name>edit</name>
148       <type>entry</type>
149       <objectclass>gosaAccount</objectclass>
150       <image>images/lists/edit.png</image>
151       <label>Edit user</label>
152     </action>
154     <action>
155       <name>lock</name>
156       <type>entry</type>
157       <objectclass>gosaAccount</objectclass>
158       <image>%{filter:lockImage(userPassword)}</image>
159       <acl>users/password[w]</acl>
160       <label>%{filter:lockLabel(userPassword)}</label>
161     </action>
163     <action>
164       <name>password</name>
165       <type>entry</type>
166       <objectclass>gosaAccount</objectclass>
167       <image>plugins/users/images/list_password.png</image>
168       <acl>users/password[w]</acl>
169       <label>Change password</label>
170     </action>
172     <action>
173       <type>snapshot</type>
174     </action>
176     <action>
177       <name>remove</name>
178       <type>entry</type>
179       <objectclass>gosaAccount</objectclass>
180       <image>images/lists/trash.png</image>
181       <acl>users/user[d]</acl>
182       <label>Remove user</label>
183     </action>
185   </actiontriggers>
187 </list>