summaryrefslogtreecommitdiff
path: root/mesh/bluetooth-mesh.conf
blob: 7fbbd648e7ec9a186398ccd7a1c8700d67176f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- This configuration file specifies the required security policies
     for Bluetooth mesh daemon to work. -->

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- ../system.conf have denied everything, so we just punch some holes -->

  <policy user="root">
    <allow own="org.bluez.mesh"/>
    <allow send_destination="org.bluez.mesh"/>
    <allow send_interface="org.bluez.mesh.Application1"/>
    <allow send_interface="org.bluez.mesh.Element1"/>
    <allow send_interface="org.bluez.mesh.ProvisionAgent1"/>
    <allow send_interface="org.bluez.mesh.Provisioner1"/>
  </policy>

  <policy context="default">
    <allow send_destination="org.bluez.mesh"/>
  </policy>

</busconfig>