14555d0ee0cf57a41188948d9bae47a17d865299
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>person</objectClass>
17 <category>users</category>
18 <class>user</class>
19 <image>plugins/users/images/select_user.png</image>
20 </objectType>
22 </definition>
24 <table>
25 <layout>|20px||260px|100px|120px|60px;c|140px;r|</layout>
27 <department>
28 <value>%{filter:objectType(dn,objectClass)}</value>
29 </department>
31 <department>
32 <value>%{filter:departmentLink(row,dn,description)}</value>
33 <span>5</span>
34 </department>
36 <column>
37 <value>%{filter:objectType(dn,objectClass)}</value>
38 </column>
40 <column>
41 <label>Given name</label>
42 <sortAttribute>givenName</sortAttribute>
43 <sortType>string</sortType>
44 <value>%{filter:link(row,dn,"%s",givenName)}</value>
45 <export>true</export>
46 </column>
48 <column>
49 <label>Surname</label>
50 <sortAttribute>sn</sortAttribute>
51 <sortType>string</sortType>
52 <value>%{filter:link(row,dn,"%s",sn)}</value>
53 <export>true</export>
54 </column>
56 <column>
57 <label>Actions</label>
58 <value>%{filter:actions(dn,row,objectClass)}</value>
59 </column>
61 </table>
63 <actionmenu>
65 <action>
66 <name>new</name>
67 <type>entry</type>
68 <image>plugins/users/images/list_new_user.png</image>
69 <label>New person</label>
70 </action>
72 <action>
73 <type>separator</type>
74 </action>
76 <action>
77 <name>edit</name>
78 <type>entry</type>
79 <image>images/lists/edit.png</image>
80 <label>Edit</label>
81 </action>
83 <action>
84 <name>remove</name>
85 <type>entry</type>
86 <image>images/lists/trash.png</image>
87 <label>Remove</label>
88 </action>
90 <action>
91 <type>separator</type>
92 </action>
94 <action>
95 <type>exporter</type>
96 </action>
97 </actionmenu>
99 <actiontriggers snapshot="true" copypaste="true">
100 <action>
101 <name>provision</name>
102 <type>entry</type>
103 <objectclass>gosaAccount</objectclass>
104 <image>images/lists/reload.png</image>
105 <label>Provision all accounts</label>
106 </action>
108 <action>
109 <name>edit</name>
110 <type>entry</type>
111 <objectclass>gosaAccount</objectclass>
112 <image>images/lists/edit.png</image>
113 <label>Edit person</label>
114 </action>
116 <action>
117 <name>remove</name>
118 <type>entry</type>
119 <image>images/lists/trash.png</image>
120 <objectclass>gosaAccount</objectclass>
121 <acl>users/user[d]</acl>
122 <label>Remove person</label>
123 </action>
125 </actiontriggers>
127 </list>