change dbus policy to allow app user retrieves BT adapter
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Wed, 18 Dec 2013 15:57:19 +0000 (16:57 +0100)
committerSebastian Chlad <sebastian.chlad@tieto.com>
Tue, 27 May 2014 10:25:14 +0000 (12:25 +0200)
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>
src/bluetooth.conf

index 3e1a369..fa23ce1 100644 (file)
@@ -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"/>