Code

Updated Config Item mangement, we are now able to set Acls
[gosa.git] / gosa-plugins / goto-ng / admin / newConfigManagement / DeviceConfig-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>false</departmentBrowser>
6     <departmentRootVisible>false</departmentRootVisible>
7     <baseMode>false</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>DeviceConfig-list.tpl</template>
10     <label>List of items</label>
11     <defaultSortColumn>1</defaultSortColumn>
13     %TYPES%
15   </definition>
17   <table>
18     <layout>|20px;c|||170px;r|</layout>
20     <department>
21       <value>%{filter:objectType(dn,objectClass)}</value>
22     </department>
24     <department>
25       <value>%{filter:departmentLink(row,dn,description)}</value>
26       <span>2</span>
27     </department>
29     <column>
30       <value>%{filter:objectType(dn,objectClass)}</value>
31     </column>
33     <column>
34       <label>Name</label>
35       <sortAttribute>cn</sortAttribute>
36       <sortType>string</sortType>
37       <value>%{filter:link(row,dn,"%s",cn,pid)}</value>
38       <export>true</export>
39     </column>
41     <column>
42       <label>Description</label>
43       <sortAttribute>description</sortAttribute>
44       <sortType>string</sortType>
45       <value>%{filter:link(row,dn,"%s",description,pid)}</value>
46       <export>true</export>
47     </column>
49     <column>
50       <label>Actions</label>
51       <value>%{filter:actions(dn,row,objectClass)}</value>
52     </column>
54   </table>
56   <actionmenu>
58     %ITEMS%
60     <action>
61       <name>remove</name>
62       <type>entry</type>
63       <image>images/lists/trash.png</image>
64       <label>Remove</label>
65     </action>
67   </actionmenu>
69   <actiontriggers snapshot="false" copypaste="false">
71     <action>
72       <name>editEntry</name>
73       <type>entry</type>
74       <image>images/lists/edit.png</image>
75       <label>Edit item</label>
76     </action>
78     <action>
79       <name>remove</name>
80       <type>entry</type>
81       <image>images/lists/trash.png</image>
82       <acl>ConfigManagement/ConfigManagement[createFAICD:w]</acl>
83       <label>Remove item</label>
84     </action>
86   </actiontriggers>
88 </list>