Add service_fw user to allow dbus access. 13/139513/1
authorDeokhyun Kim <dukan.kim@samsung.com>
Wed, 19 Jul 2017 07:41:34 +0000 (16:41 +0900)
committerDeokhyun Kim <dukan.kim@samsung.com>
Wed, 19 Jul 2017 07:43:05 +0000 (16:43 +0900)
Change-Id: Ifb09205d25f150b880e9b2374daed83e3353454c
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
src/bluetooth.conf

index 2add5d7..5a99b3d 100644 (file)
     <allow send_destination="org.bluez.Profile1"/>
   </policy>
 
+  <policy user="service_fw">
+    <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">