<!-- This configuration file specifies the required security policies
     for Bluetooth core 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.obex"/>
    <allow send_destination="org.bluez.obex"/>
    <allow send_interface="org.bluez.obex.Agent1"/>
    <allow send_interface="org.bluez.obex.Client1"/>
    <allow send_interface="org.bluez.obex.Session1"/>
    <allow send_interface="org.bluez.obex.Transfer1"/>
    <allow send_interface="org.bluez.obex.ObjectPush1"/>
    <allow send_interface="org.bluez.obex.PhonebookAccess1"/>
    <allow send_interface="org.bluez.obex.Synchronization1"/>
    <allow send_interface="org.bluez.obex.MessageAccess1"/>
    <allow send_interface="org.bluez.obex.Message1"/>
  </policy>

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

</busconfig>
