SPEC-3723: restructure meta-agl-demo
[AGL/meta-agl-demo.git] / recipes-connectivity / bluez5 / bluez5 / bluetooth.conf
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     <allow send_destination="org.bluez"/>
13     <allow send_interface="org.bluez.Agent1"/>
14     <allow send_interface="org.bluez.MediaEndpoint1"/>
15     <allow send_interface="org.bluez.MediaPlayer1"/>
16     <allow send_interface="org.bluez.ThermometerWatcher1"/>
17     <allow send_interface="org.bluez.AlertAgent1"/>
18     <allow send_interface="org.bluez.Profile1"/>
19     <allow send_interface="org.bluez.HeartRateWatcher1"/>
20     <allow send_interface="org.bluez.CyclingSpeedWatcher1"/>
21     <allow send_interface="org.bluez.GattCharacteristic1"/>
22     <allow send_interface="org.bluez.GattDescriptor1"/>
23     <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
24     <allow send_interface="org.freedesktop.DBus.Properties"/>
25     <allow receive_type="signal" receive_sender="org.bluez" receive_interface="org.freedesktop.DBus.Properties"/>
26     <allow receive_type="signal" receive_sender="org.bluez" receive_interface="org.freedesktop.DBus.ObjectManager"/>
27   </policy>
28
29   <policy at_console="true">
30     <allow send_destination="org.bluez"/>
31   </policy>
32
33   <!-- allow users of lp group (printing subsystem) to
34        communicate with bluetoothd -->
35   <policy group="lp">
36     <allow send_destination="org.bluez"/>
37   </policy>
38
39 </busconfig>