File: sudo-list.xml

package info (click to toggle)
gosa-plugins-sudo 2.8~git20211022.7ff3ed2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: php: 896; xml: 257; makefile: 5
file content (135 lines) | stat: -rw-r--r-- 2,762 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>

<list>
  <definition>
    <departmentBrowser>false</departmentBrowser>
    <departmentRootVisible>false</departmentRootVisible>
    <baseMode>false</baseMode>
    <multiSelect>true</multiSelect>
    <template>../../../ihtml/themes/default/list.tpl</template>
    <module>sudo</module>
    <label>List of Sudo roles</label>
    <defaultSortColumn>1</defaultSortColumn>

    <objectType>
      <label>Role</label>
      <objectClass>sudoRole</objectClass>
      <category>sudo</category>
      <class>sudo</class>
      <image>admin_panel_settings</image>
    </objectType>

  </definition>

  <table>
    <layout>|20px;c|120px||170px;r|</layout>

    <column>
      <value>%{filter:objectType(dn,objectClass)}</value>
    </column>

    <column>
      <label>Name</label>
      <sortAttribute>cn</sortAttribute>
      <sortType>string</sortType>
      <value>%{filter:link(row,dn,"%s",cn)}</value>
      <export>true</export>
    </column>

    <column>
      <label>Description</label>
      <sortAttribute>description</sortAttribute>
      <sortType>string</sortType>
      <value>%{filter:link(row,dn,"%s",description)}</value>
      <export>true</export>
    </column>

    <column>
      <label>Actions</label>
      <value>%{filter:actions(dn,row,objectClass)}</value>
    </column>

  </table>

  <actionmenu>

    <action>
     <type>sub</type>
     <image>web_asset</image>
     <label>Create</label>

     <action>
      <name>new</name>
      <type>entry</type>
      <image>admin_panel_settings</image>
      <label>Role</label>
     </action>

     <action>
      <name>new_default</name>
      <type>entry</type>
      <image>admin_panel_settings</image>
      <label>Default</label>
     </action>

    </action>

    <action>
      <type>separator</type>
    </action>

    <action>
      <name>remove</name>
      <type>entry</type>
      <image>delete</image>
      <label>Remove</label>
    </action>

    <action>
      <type>exporter</type>
    </action>

    <action>
      <type>separator</type>
    </action>

    <action>
      <type>copypaste</type>
    </action>

    <action>
      <type>snapshot</type>
    </action>

  </actionmenu>

  <actiontriggers snapshot="true" copypaste="true">

    <action>
      <name>cp</name>
      <type>copypaste</type>
    </action>

    <action>
      <name>edit</name>
      <type>entry</type>
      <image>edit</image>
      <label>Edit Sudo role</label>
    </action>

    <action>
      <name>snapshot</name>
      <type>snapshot</type>
    </action>

    <action>
      <name>remove</name>
      <type>entry</type>
      <image>delete</image>
      <acl>sudo/sudo[d]</acl>
      <label>Remove Sudo role</label>
    </action>

  </actiontriggers>

</list>