summaryrefslogtreecommitdiff
path: root/policy/org.freedesktop.hal.device-access.policy
blob: 884fa57be55f85e0ccc84427eb4b87790a6996c1 (plain)
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">

<!--
Policy definitions for HAL's ACL Management mechanism

Copyright (c) 2007 David Zeuthen <david@fubar.dk>

HAL is licensed to you under your choice of the the Academic Free
License Version 2.1, or the GNU General Public License version 2. Some
individual source files may be under the GPL only. See COPYING for
details.

NOTE: Please keep the actions in alpabetical order

-->

<policyconfig>

  <action id="org.freedesktop.hal.device-access.audio-player">
    <description>Directly access audio players</description>
    <message>System policy prevents access to audio players</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.camera">
    <description>Directly access digital cameras</description>
    <message>System policy prevents access to digital cameras</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.cdrom">
    <description>Directly access optical drives</description>
    <message>System policy prevents access to optical drives</message>
    <defaults>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.dvb">
    <description>Directly access DVB devices</description>
    <message>System policy prevents access to DVB devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.fingerprint-reader">
    <description>Directly access to fingerprint reader devices</description>
    <message>System policy prevents access to fingerprint readers</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.floppy">
    <description>Directly access Floppy devices</description>
    <message>System policy prevents access to Floppy devices</message>
    <defaults>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.ieee1394-avc">
    <description>Directly access Firewire AVC devices</description>
    <message>System policy prevents access to Firewire AVC devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.ieee1394-iidc">
    <description>Directly access Firewire IIDC devices</description>
    <message>System policy prevents access to Firewire IIDC devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.smart-card-reader">
    <description>Directly access to Smart Card Reader security devices</description>
    <message>System policy prevents access to Smart Card Reader security devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.joystick">
    <description>Directly access Joystick devices</description>
    <message>System policy prevents access to Joystick devices</message>
    <defaults>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.modem">
    <description>Directly access serial modem devices</description>
    <message>System policy prevents access to serial modem devices</message>
    <defaults>
      <allow_inactive>auth_admin_keep_always</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.mouse">
    <description>Directly access Mouse devices</description>
    <message>System policy prevents access to Mouse devices</message>
    <defaults>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.obex">
    <description>Directly access OBEX devices</description>
    <message>System policy prevents access to OBEX devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.pda">
    <description>Directly access PDA devices</description>
    <message>System policy prevents access to PDA devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.ppdev">
    <description>Directly access parallel port devices</description>
    <message>System policy prevents access to parallel port devices</message>
    <defaults>
      <allow_inactive>auth_admin_keep_always</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.printer">
    <description>Directly access printers</description>
    <message>System policy prevents access to printers</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.removable-block">
    <description>Directly access removable block devices</description>
    <message>System policy prevents access to removable block devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>no</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.scanner">
    <description>Directly access scanners</description>
    <message>System policy prevents access to scanners</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.sound">
    <description>Directly access sound devices</description>
    <message>System policy prevents access to the sound devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.video">
    <description>Directly access Video devices</description>
    <message>System policy prevents access to Video devices</message>
    <defaults>
      <allow_inactive>yes</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.hal.device-access.video4linux">
    <description>Directly access video capture devices</description>
    <message>System policy prevents access to video capture devices</message>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

</policyconfig>