6591cd8412ec640369e8b77fcda91a019f4219c4
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||250px|170px;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>1</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>Actions</label>
58 <value>%{filter:actions(dn,row,objectClass)}</value>
59 </column>
61 </table>
63 <actionmenu>
65 <action>
66 <type>sub</type>
67 <image>images/lists/new.png</image>
68 <label>Create</label>
70 <action>
71 <name>new</name>
72 <type>entry</type>
73 <image>plugins/groups/images/new.png</image>
74 <label>Group</label>
75 </action>
76 </action>
78 <action>
79 <type>separator</type>
80 </action>
82 <action>
83 <name>edit</name>
84 <type>entry</type>
85 <image>images/lists/edit.png</image>
86 <label>Edit</label>
87 </action>
89 <action>
90 <name>remove</name>
91 <type>entry</type>
92 <image>images/lists/trash.png</image>
93 <label>Remove</label>
94 </action>
96 <action>
97 <type>exporter</type>
98 </action>
100 <action>
101 <type>separator</type>
102 </action>
104 <action>
105 <type>copypaste</type>
106 </action>
108 <action>
109 <type>snapshot</type>
110 </action>
112 </actionmenu>
114 <actiontriggers snapshot="true" copypaste="true">
116 <action>
117 <name>cp</name>
118 <type>copypaste</type>
119 </action>
121 <action>
122 <name>edit</name>
123 <type>entry</type>
124 <image>images/lists/edit.png</image>
125 <label>Edit group</label>
126 </action>
128 <action>
129 <name>snapshot</name>
130 <type>snapshot</type>
131 </action>
133 <action>
134 <name>remove</name>
135 <type>entry</type>
136 <image>images/lists/trash.png</image>
137 <acl>groups/group[d]</acl>
138 <label>Remove group</label>
139 </action>
141 </actiontriggers>
143 </list>