blob: ea462785f2299460bb08cc627b45c122e7afff96 (
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
|
Index: b/hal.conf
===================================================================
--- a/hal.conf 2007-04-03 00:41:24.000000000 -0400
+++ b/hal.conf 2007-04-06 20:36:53.000000000 -0400
@@ -63,5 +63,16 @@
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
+ <!-- Gentoo specific rules to allow 'plugdev' group to access Volumes and Power Management -->
+ <!-- We possibly will use 'powerdev' for Power Management or work on encapsulating everything in ConsoleKit -->
+ <policy group="plugdev">
+ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
+ </policy>
+ <policy group="plugdev">
+ <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ </policy>
+
</busconfig>
Index: b/hal.conf.in
===================================================================
--- a/hal.conf.in 2007-03-07 16:52:19.000000000 -0500
+++ b/hal.conf.in 2007-04-06 20:37:59.000000000 -0400
@@ -63,5 +63,16 @@
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
+ <!-- Gentoo specific rules to allow 'plugdev' group to access Volumes and Power Management -->
+ <!-- We possibly will use 'powerdev' for Power Management or work on encapsulating everything in ConsoleKit -->
+ <policy group="plugdev">
+ <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
+ <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
+ </policy>
+ <policy group="plugdev">
+ <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
+ <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
+ </policy>
+
</busconfig>
|