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 <objectType>
23 <label>Group submenu entry</label>
24 <objectClass>gotoSubmenuEntry</objectClass>
25 <category>groups</category>
26 <class>group</class>
27 <image>plugins/groups/images/groups.png</image>
28 </objectType>
30 <objectType>
31 <label>Group menu entry</label>
32 <objectClass>gotoMenuEntry</objectClass>
33 <category>groups</category>
34 <class>group</class>
35 <image>plugins/groups/images/groups.png</image>
36 </objectType>
39 </definition>
41 <table>
42 <layout>|20px;c|||120px|150px;r|</layout>
44 <department>
45 <value>%{filter:objectType(dn,objectClass)}</value>
46 </department>
48 <department>
49 <value>%{filter:departmentLink(row,dn,description)}</value>
50 <span>2</span>
51 </department>
53 <column>
54 <value>%{filter:objectType(dn,objectClass)}</value>
55 </column>
57 <column>
58 <label>Name</label>
59 <sortAttribute>cn</sortAttribute>
60 <sortType>string</sortType>
61 <value>%{filter:link(row,dn,"%s",cn)}</value>
62 <export>true</export>
63 </column>
65 <column>
66 <label>Description</label>
67 <sortAttribute>description</sortAttribute>
68 <sortType>string</sortType>
69 <value>%{filter:link(row,dn,"%s",description)}</value>
70 <export>true</export>
71 </column>
73 <column>
74 <label>Properties</label>
75 <value>%{filter:filterProperties(row,objectClass)}</value>
76 </column>
78 <column>
79 <label>Actions</label>
80 <value>%{filter:actions(dn,row,objectClass)}</value>
81 </column>
83 </table>
85 <actionmenu>
87 <action>
88 <type>sub</type>
89 <image>images/lists/new.png</image>
90 <label>Create</label>
92 <action>
93 <name>new</name>
94 <type>entry</type>
95 <image>plugins/groups/images/new.png</image>
96 <label>Group</label>
97 </action>
98 </action>
100 <action>
101 <type>separator</type>
102 </action>
104 <action>
105 <name>edit</name>
106 <type>entry</type>
107 <image>images/lists/edit.png</image>
108 <label>Edit</label>
109 </action>
111 <action>
112 <name>remove</name>
113 <type>entry</type>
114 <image>images/lists/trash.png</image>
115 <label>Remove</label>
116 </action>
118 <action>
119 <name>sendMessage</name>
120 <type>entry</type>
121 <depends>DaemonEvent_notify</depends>
122 <image>plugins/goto/images/notify.png</image>
123 <label>Send message</label>
124 </action>
126 <action>
127 <type>exporter</type>
128 </action>
130 <action>
131 <type>separator</type>
132 </action>
134 <action>
135 <type>copypaste</type>
136 </action>
138 <action>
139 <type>snapshot</type>
140 </action>
142 </actionmenu>
144 <actiontriggers snapshot="true" copypaste="true">
146 <action>
147 <name>cp</name>
148 <type>copypaste</type>
149 </action>
151 <action>
152 <name>edit</name>
153 <type>entry</type>
154 <image>images/lists/edit.png</image>
155 <label>Edit group</label>
156 </action>
158 <action>
159 <name>snapshot</name>
160 <type>snapshot</type>
161 </action>
163 <action>
164 <name>remove</name>
165 <type>entry</type>
166 <image>images/lists/trash.png</image>
167 <acl>groups/group[d]</acl>
168 <label>Remove group</label>
169 </action>
171 </actiontriggers>
173 </list>