Merge branch 'v1.4' of jpellegrini/package-feed into v1.4
[librecmc/package-feed.git] / utils / bluez / files / bluetooth.dbus
1 <!-- This configuration file specifies the required security policies
2      for Bluetooth core daemon to work. -->
3
4 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
5  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
6 <busconfig>
7
8   <!-- ../system.conf have denied everything, so we just punch some holes -->
9
10   <policy user="root">
11     <allow own="org.bluez"/>
12   </policy>
13
14   <policy at_console="true">
15     <allow send_path="/"/>
16     <allow send_path="/org/bluez"/>
17
18     <allow send_destination="org.bluez.Manager"/>
19     <allow receive_sender="org.bluez.Manager"/>
20
21     <allow send_destination="org.bluez.Adapter"/>
22     <allow receive_sender="org.bluez.Adapter"/>
23
24     <allow send_destination="org.bluez.Device"/>
25     <allow receive_sender="org.bluez.Device"/>
26
27     <allow send_destination="org.bluez.Service"/>
28     <allow receive_sender="org.bluez.Service"/>
29
30     <allow send_destination="org.bluez.Database"/>
31     <allow receive_sender="org.bluez.Database"/>
32
33     <allow send_destination="org.bluez.Security"/>
34     <allow receive_sender="org.bluez.Security"/>
35   </policy>
36
37 </busconfig>