e17e9ff62533bc08ae1e5b887bd4c3b5499fabd1
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>Template</label>
16 <objectClass>gosaUserTemplate</objectClass>
17 <category>users</category>
18 <class>user</class>
19 <image>plugins/users/images/select_template.png</image>
20 </objectType>
22 <objectType>
23 <label>User</label>
24 <objectClass>gosaAccount</objectClass>
25 <category>users</category>
26 <class>user</class>
27 <image>plugins/users/images/select_user.png</image>
28 </objectType>
30 </definition>
32 <table>
33 <layout>|20px||260px|200px;r|</layout>
35 <department>
36 <value>%{filter:objectType(dn,objectClass)}</value>
37 </department>
39 <department>
40 <value>%{filter:departmentLink(row,dn,description)}</value>
41 <span>3</span>
42 </department>
44 <column>
45 <value>%{filter:objectType(dn,objectClass)}</value>
46 </column>
48 <column>
49 <label>Given name</label>
50 <sortAttribute>givenName</sortAttribute>
51 <sortType>string</sortType>
52 <value>%{filter:link(row,dn,"%s",givenName)}</value>
53 <export>true</export>
54 </column>
56 <column>
57 <label>Surname</label>
58 <sortAttribute>sn</sortAttribute>
59 <sortType>string</sortType>
60 <value>%{filter:link(row,dn,"%s",sn)}</value>
61 <export>true</export>
62 </column>
64 <column>
65 <label>Actions</label>
66 <value>%{filter:actions(dn,row,objectClass)}</value>
67 </column>
69 </table>
71 <actionmenu>
73 <action>
74 <name>new</name>
75 <type>entry</type>
76 <image>plugins/users/images/list_new_user.png</image>
77 <label>New person</label>
78 </action>
80 <action>
81 <name>new_template</name>
82 <type>entry</type>
83 <image>plugins/users/images/select_template.png</image>
84 <label>New template</label>
85 </action>
87 <action>
88 <type>separator</type>
89 </action>
91 <action>
92 <name>edit</name>
93 <type>entry</type>
94 <image>images/lists/edit.png</image>
95 <label>Edit</label>
96 </action>
98 <action>
99 <name>remove</name>
100 <type>entry</type>
101 <image>images/lists/trash.png</image>
102 <label>Remove</label>
103 </action>
105 <action>
106 <type>separator</type>
107 </action>
109 <action>
110 <type>separator</type>
111 </action>
113 <action>
114 <name>templatize</name>
115 <type>entry</type>
116 <image>plugins/users/images/wizard.png</image>
117 <label>Apply template</label>
118 </action>
120 <action>
121 <type>exporter</type>
122 </action>
123 </actionmenu>
125 <actiontriggers snapshot="true" copypaste="true">
127 <action>
128 <name>newfromtpl</name>
129 <type>entry</type>
130 <image>images/lists/new.png</image>
131 <objectclass>gosaUserTemplate</objectclass>
132 <label>New user from template</label>
133 </action>
135 <action>
136 <name>cp</name>
137 <objectclass>!gosaUserTemplate</objectclass>
138 <type>copypaste</type>
139 </action>
141 <action>
142 <name>edit</name>
143 <type>entry</type>
144 <objectclass>gosaAccount</objectclass>
145 <image>images/lists/edit.png</image>
146 <label>Edit user</label>
147 </action>
149 <action>
150 <name>lock</name>
151 <type>entry</type>
152 <objectclass>!gosaUserTemplate</objectclass>
153 <image>%{filter:lockImage(userPassword)}</image>
154 <acl>uniBonnAccount/password[w]</acl>
155 <label>%{filter:lockLabel(userPassword)}</label>
156 </action>
158 <action>
159 <name>password</name>
160 <type>entry</type>
161 <objectclass>!gosaUserTemplate</objectclass>
162 <image>plugins/users/images/list_password.png</image>
163 <label>Change password</label>
164 </action>
166 <action>
167 <name>snapshot</name>
168 <type>snapshot</type>
169 <objectclass>!gosaUserTemplate</objectclass>
170 </action>
172 <action>
173 <name>remove</name>
174 <type>entry</type>
175 <image>images/lists/trash.png</image>
176 <objectclass>gosaAccount</objectclass>
177 <acl>users/user[d]</acl>
178 <label>Remove user</label>
179 </action>
181 </actiontriggers>
183 </list>