Code

b80a1006daa5281017ada507eff0ff55cc55d442
[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       <category>users</category>
19       <class>user</class>
20       <image>plugins/users/images/select_user.png</image>
21     </objectType>
23     <objectType>
24       <label>Templates</label>
25       <objectClass>gosaUserTemplate</objectClass>
26       <category>users</category>
27       <class>user</class>
28       <image>plugins/users/images/select_template.png</image>
29     </objectType>
31   </definition>
33   <table>
34     <layout>|20px||145px|165px;r|</layout>
36     <department>
37       <value>%{filter:objectType(dn,objectClass)}</value>
38     </department>
40     <department>
41       <value>%{filter:departmentLink(row,dn,description)}</value>
42     </department>
44     <column>
45       <value>%{filter:objectType(dn,objectClass)}</value>
46     </column>
48     <column>
49       <label>Name / Department</label>
50       <sortAttribute>sn</sortAttribute>
51       <sortType>string</sortType>
52       <value>%{filter:link(row,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
53     </column>
55     <column>
56       <label>Properties</label>
57       <value>%{filter:accountProperties(dn,row,objectClass)}</value>
58     </column>
60     <column>
61       <label>Actions</label>
62       <value>%{filter:actions(dn,row,objectClass)}</value>
63     </column>
65   </table>
67   <actionmenu>
68     <action>
69       <type>sub</type>
70       <image>images/lists/new.png</image>
71       <label>Create</label>
73       <action>
74         <name>create_user</name>
75         <type>entry</type>
76         <image>plugins/users/images/list_new_user.png</image>
77         <acl>users/user[c]</acl>
78         <label>User</label>
79       </action>
81       <action>
82         <name>create_template</name>
83         <type>entry</type>
84         <image>images/lists/new.png</image>
85         <acl>users/user[c]</acl>
86         <label>Template</label>
87       </action>
89     </action>
91     <action>
92       <type>separator</type>
93     </action>
95     <action>
96       <name>edit</name>
97       <type>entry</type>
98       <image>images/lists/edit.png</image>
99       <label>Edit</label>
100     </action>
102     <action>
103       <name>password</name>
104       <type>entry</type>
105       <image>plugins/users/images/list_password.png</image>
106       <label>Change password</label>
107     </action>
109     <action>
110       <name>remove</name>
111       <type>entry</type>
112       <image>images/lists/trash.png</image>
113       <label>Remove</label>
114     </action>
116     <action>
117       <name>templatize</name>
118       <type>entry</type>
119       <image>plugins/users/images/wizard.png</image>
120       <label>Apply template</label>
121     </action>
123     <action>
124       <type>separator</type>
125     </action>
127     <action>
128       <type>daemon</type>
129     </action>
131     <action>
132       <type>separator</type>
133     </action>
135     <action>
136       <type>copypaste</type>
137     </action>
139     <action>
140       <type>separator</type>
141     </action>
143     <action>
144       <type>snapshot</type>
145     </action>
147   </actionmenu>
149   <actiontriggers snapshot="true" copypaste="true">
150     <action>
151       <name>templatize</name>
152       <type>entry</type>
153       <objectclass>!gosaUserTemplate</objectclass>
154       <image>plugins/users/images/wizard.png</image>
155       <label>Apply template</label>
156     </action>
158     <action>
159       <type>copypaste</type>
160     </action>
162     <action>
163       <name>edit</name>
164       <type>entry</type>
165       <objectclass>gosaAccount</objectclass>
166       <image>images/lists/edit.png</image>
167       <label>Edit user</label>
168     </action>
170     <action>
171       <name>lock</name>
172       <type>entry</type>
173       <objectclass>gosaAccount</objectclass>
174       <image>%{filter:lockImage(userPassword)}</image>
175       <acl>users/password[w]</acl>
176       <label>%{filter:lockLabel(userPassword)}</label>
177     </action>
179     <action>
180       <name>password</name>
181       <type>entry</type>
182       <objectclass>gosaAccount</objectclass>
183       <image>plugins/users/images/list_password.png</image>
184       <acl>users/password[w]</acl>
185       <label>Change password</label>
186     </action>
188     <action>
189       <type>snapshot</type>
190     </action>
192     <action>
193       <name>remove</name>
194       <type>entry</type>
195       <objectclass>gosaAccount</objectclass>
196       <image>images/lists/trash.png</image>
197       <acl>users/user[d]</acl>
198       <label>Remove user</label>
199     </action>
201   </actiontriggers>
203 </list>