6f28226f25c94a9350fca49f2490f83d8c2e0298
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>group-list.tpl</template>
10 <module>groups</module>
11 <label>List of groups</label>
12 <defaultSortColumn>1</defaultSortColumn>
14 <objectType>
15 <label>Group</label>
16 <objectClass>posixGroup</objectClass>
17 <category>groups</category>
18 <class>group</class>
19 <image>plugins/groups/images/groups.png</image>
20 </objectType>
22 </definition>
24 <table>
25 <layout>|16px|||120px|150px;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>2</span>
34 </department>
36 <column>
37 <value>%{filter:objectType(dn,objectClass)}</value>
38 </column>
40 <column>
41 <label>Name</label>
42 <sortAttribute>cn</sortAttribute>
43 <sortType>string</sortType>
44 <value>%{filter:link(row,dn,"%s",cn)}</value>
45 <export>true</export>
46 </column>
48 <column>
49 <label>Description</label>
50 <sortAttribute>description</sortAttribute>
51 <sortType>string</sortType>
52 <value>%{filter:link(row,dn,"%s",description)}</value>
53 <export>true</export>
54 </column>
56 <column>
57 <label>Properties</label>
58 <value>%{filter:filterProperties(row,objectClass)}</value>
59 </column>
61 <column>
62 <label>Actions</label>
63 <value>%{filter:actions(dn,row,objectClass)}</value>
64 </column>
66 </table>
68 <actionmenu>
70 <action>
71 <type>sub</type>
72 <image>images/lists/new.png</image>
73 <label>Create</label>
75 <action>
76 <name>new</name>
77 <type>entry</type>
78 <image>plugins/groups/images/new.png</image>
79 <label>Group</label>
80 </action>
81 </action>
83 <action>
84 <type>separator</type>
85 </action>
87 <action>
88 <name>edit</name>
89 <type>entry</type>
90 <image>images/lists/edit.png</image>
91 <label>Edit</label>
92 </action>
94 <action>
95 <name>remove</name>
96 <type>entry</type>
97 <image>images/lists/trash.png</image>
98 <label>Remove</label>
99 </action>
101 <action>
102 <type>exporter</type>
103 </action>
105 <action>
106 <type>separator</type>
107 </action>
109 <action>
110 <type>copypaste</type>
111 </action>
113 <action>
114 <type>snapshot</type>
115 </action>
117 </actionmenu>
119 <actiontriggers snapshot="true" copypaste="true">
121 <action>
122 <name>cp</name>
123 <type>copypaste</type>
124 </action>
126 <action>
127 <name>edit</name>
128 <type>entry</type>
129 <image>images/lists/edit.png</image>
130 <label>Edit group</label>
131 </action>
133 <action>
134 <name>snapshot</name>
135 <type>snapshot</type>
136 </action>
138 <action>
139 <name>remove</name>
140 <type>entry</type>
141 <image>images/lists/trash.png</image>
142 <acl>groups/group[d]</acl>
143 <label>Remove group</label>
144 </action>
146 </actiontriggers>
148 </list>