Allow owners group for bluetoothd dbus method call 56/73456/1 accepted/tizen/common/20160610.175837 accepted/tizen/ivi/20160609.090545 accepted/tizen/mobile/20160609.090520 accepted/tizen/tv/20160609.090605 accepted/tizen/wearable/20160609.090529 submit/tizen/20160608.073857
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 8 Jun 2016 07:27:02 +0000 (16:27 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 8 Jun 2016 07:27:02 +0000 (16:27 +0900)
Change-Id: I94d3d79f8bd9bcc7c81a297c059f0e6400120d26
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth.conf

index d15003f..2add5d7 100644 (file)
     <allow send_destination="org.bluez.Profile1"/>
   </policy>
 
+  <!-- allow users of system group (Tizen BT group) to
+       communicate with bluetoothd -->
+  <policy group="users">
+    <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.projectx.bt_event"/>
+    <allow send_destination="org.projectx.bt_event"/>
+    <allow send_interface="org.bluez.frwk_agent"/>
+    <allow send_destination="org.bluez.frwk_agent"/>
+    <allow send_interface="org.bluez.Agent1"/>
+    <allow send_destination="org.bluez.Agent1"/>
+    <allow send_interface="org.bluez.Adapter1"/>
+    <allow send_destination="org.bluez.Adapter1"/>
+    <allow send_interface="org.bluez.Manager"/>
+    <allow send_destination="org.bluez.Manager"/>
+    <allow send_interface="org.bluez.Device1"/>
+    <allow send_destination="org.bluez.Device1"/>
+    <allow send_interface="org.bluez.MediaEndpoint1"/>
+    <allow send_destination="org.bluez.MediaEndpoint1"/>
+    <allow send_interface="org.bluez.MediaTransport1"/>
+    <allow send_destination="org.bluez.MediaTransport1"/>
+    <allow send_interface="org.bluez.MediaPlayer1"/>
+    <allow send_destination="org.bluez.MediaPlayer1"/>
+    <allow send_interface="org.bluez.Profile1"/>
+    <allow send_destination="org.bluez.Profile1"/>
+  </policy>
+
   <!-- allow users of lp group (printing subsystem) to
        communicate with bluetoothd -->
   <policy group="lp">