summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>2013-12-18 16:57:19 +0100
committerSebastian Chlad <sebastian.chlad@tieto.com>2014-05-27 12:25:14 +0200
commit171bed138966ea402bc1d3930715a234cd9fd38f (patch)
treeffe71701dd5eddc1d3e0a66565bb670037ec4746
parent168aa5d93d31cfd7fde1e468369360395afc399c (diff)
downloadbluez-171bed138966ea402bc1d3930715a234cd9fd38f.tar.gz
bluez-171bed138966ea402bc1d3930715a234cd9fd38f.tar.bz2
bluez-171bed138966ea402bc1d3930715a234cd9fd38f.zip
change dbus policy to allow app user retrieves BT adapter
According to bluetooth-frwk, app user needs permission to connect to org.bluez and access to org.freedesktop.DBus.ObjectManager interface in order to retrieve bluetooth adapter. relates to TIVI-2064 Change-Id: Ia72bb55794b97b69b5a32acfb69d6d3b48aeab57 Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
-rw-r--r--src/bluetooth.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth.conf b/src/bluetooth.conf
index 3e1a3690..fa23ce14 100644
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -44,6 +44,8 @@
<!-- allow users of bt_use group (Tizen BT group) to
communicate with bluetoothd -->
<policy group="bt_use">
+ <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
+ <allow send_destination="org.bluez"/>
<allow send_interface="org.projectx.bluetooth"/>
<allow send_destination="org.projectx.bluetooth"/>
<allow send_interface="org.bluez.frwk_agent"/>