blob: 4e226e7adb4fad4a94753a8b935b37585857903f [file] [log] [blame]
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Only root or user bluetooth can own the btmanagerd service -->
<policy user="bluetooth">
<allow own="org.chromium.bluetooth"/>
<allow own="org.chromium.bluetooth.Manager"/>
<allow own="org.chromium.bluetooth.ManagerCallback"/>
</policy>
<policy user="root">
<allow own="org.chromium.bluetooth"/>
<allow own="org.chromium.bluetooth.Manager"/>
<allow own="org.chromium.bluetooth.ManagerCallback"/>
</policy>
<!-- Allow anyone to invoke methods on btmanagerd server, -->
<!-- Will likely change this as the project matures -->
<policy context="default">
<allow send_destination="org.chromium.bluetooth"/>
<allow send_destination="org.chromium.bluetooth.Manager"/>
<allow send_destination="org.chromium.bluetooth.ManagerCallback"/>
</policy>
<!-- Allow access to everything to the group "bluetooth" -->
<policy group="bluetooth">
<allow send_destination="org.chromium.bluetooth"/>
<allow send_destination="org.chromium.bluetooth.Manager"/>
<allow send_destination="org.chromium.bluetooth.ManagerCallback"/>
</policy>
<policy user="root">
<allow send_destination="org.chromium.bluetooth"/>
<allow send_destination="org.chromium.bluetooth.Manager"/>
<allow send_destination="org.chromium.bluetooth.ManagerCallback"/>
</policy>
</busconfig>