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>ogroup-list.tpl</template>
10 <module>ogroups</module>
11 <label>List of object groups</label>
12 <defaultSortColumn>1</defaultSortColumn>
14 <objectType>
15 <label>Object group</label>
16 <objectClass>gosaGroupOfNames</objectClass>
17 <category>ogroups</category>
18 <class>ogroup</class>
19 <image>plugins/ogroups/images/ogroup.png</image>
20 </objectType>
22 </definition>
24 <table>
25 <layout>|20px;c|||100px;r|130px;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,gosaGroupObjects)}</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/element.png[new]</image>
73 <label>Create</label>
75 <action>
76 <name>new</name>
77 <type>entry</type>
78 <image>plugins/ogroups/images/ogroup.png[new]</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 <name>sendMessage</name>
103 <type>entry</type>
104 <depends>DaemonEvent_notify</depends>
105 <image>plugins/goto/images/notify.png</image>
106 <label>Send message</label>
107 </action>
109 <action>
110 <type>separator</type>
111 </action>
113 <action>
114 <type>exporter</type>
115 </action>
117 <action>
118 <type>separator</type>
119 </action>
121 <action>
122 <type>copypaste</type>
123 </action>
125 <action>
126 <type>snapshot</type>
127 </action>
129 </actionmenu>
131 <actiontriggers snapshot="true" copypaste="true">
133 <action>
134 <name>cp</name>
135 <type>copypaste</type>
136 </action>
138 <action>
139 <name>edit</name>
140 <type>entry</type>
141 <image>images/lists/edit.png</image>
142 <label>Edit object group</label>
143 </action>
145 <action>
146 <name>snapshot</name>
147 <type>snapshot</type>
148 </action>
150 <action>
151 <name>remove</name>
152 <type>entry</type>
153 <image>images/lists/trash.png</image>
154 <acl>ogroups/ogroup[d]</acl>
155 <label>Remove object group</label>
156 </action>
158 </actiontriggers>
160 </list>