Code

Updated ACL Filter
[gosa.git] / gosa-core / plugins / admin / acl / acl-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>true</departmentBrowser>
6     <departmentRootVisible>true</departmentRootVisible>
7     <baseMode>true</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>acl-list.tpl</template>
10     <module>acl</module>
11     <label>List of acls</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>Acl</label>
16       <objectClass>gosaAcl</objectClass>
17       <category>acl</category>
18       <class>acl</class>
19       <image>images/lists/locked.png</image>
20     </objectType>
22     <objectType>
23       <label>Role</label>
24       <objectClass>gosaRole</objectClass>
25       <category>acl</category>
26       <class>acl</class>
27       <image>plugins/acl/images/role.png</image>
28     </objectType>
30   </definition>
32   <table>
33     <layout>|16px|200px||170px;r|</layout>
35     <department>
36       <value>%{filter:objectType(dn,objectClass)}</value>
37     </department>
39     <department>
40       <value>%{filter:departmentLink(row,dn,description)}</value>
41       <span>1</span>
42     </department>
44     <column>
45       <value>%{filter:objectType(dn,objectClass)}</value>
46     </column>
48     <column>
49       <label>Name</label>
50       <sortAttribute>dn</sortAttribute>
51       <sortType>string</sortType>
52       <value>%{filter:filterLabel(row,dn,ou,cn,pid,base)}</value>
53       <export>true</export>
54     </column>
56     <column>
57       <label>Description</label>
58       <sortAttribute>description</sortAttribute>
59       <sortType>string</sortType>
60       <value>%{filter:link(row,dn,"%s",description)}</value>
61       <export>true</export>
62     </column>
64     <column>
65       <label>Actions</label>
66       <value>%{filter:actions(dn,row,objectClass)}</value>
67     </column>
69   </table>
71   <actionmenu>
73     <action>
74      <type>sub</type>
75      <image>images/lists/new.png</image>
76      <label>Create</label>
78      <action>
79       <name>new</name>
80       <type>entry</type>
81       <image>plugins/users/images/list_new_user.png</image>
82       <label>Acl</label>
83      </action>
85      <action>
86       <name>new_role</name>
87       <type>entry</type>
88       <image>plugins/users/images/select_template.png</image>
89       <label>Role</label>
90      </action>
91     </action>
93     <action>
94       <type>separator</type>
95     </action>
97     <action>
98       <name>remove</name>
99       <type>entry</type>
100       <image>images/lists/trash.png</image>
101       <label>Remove</label>
102     </action>
104     <action>
105       <type>separator</type>
106     </action>
108     <action>
109       <type>exporter</type>
110     </action>
112     <action>
113       <type>separator</type>
114     </action>
116     <action>
117       <type>copypaste</type>
118     </action>
120     <action>
121       <type>snapshot</type>
122     </action>
124   </actionmenu>
126   <actiontriggers snapshot="true" copypaste="true">
128     <action>
129       <name>cp</name>
130       <type>copypaste</type>
131     </action>
133     <action>
134       <name>edit</name>
135       <type>entry</type>
136       <image>images/lists/edit.png</image>
137       <label>Edit</label>
138     </action>
140     <action>
141       <name>snapshot</name>
142       <type>snapshot</type>
143     </action>
145     <action>
146       <name>remove</name>
147       <type>entry</type>
148       <image>images/lists/trash.png</image>
149       <acl>acl/acl[d]</acl>
150       <label>Remove</label>
151     </action>
153   </actiontriggers>
155 </list>