Modify dbus policies 21/194121/2 accepted/tizen/unified/20181210.152220 submit/tizen/20181210.003120
authorWootak Jung <wootak.jung@samsung.com>
Thu, 29 Nov 2018 07:30:43 +0000 (16:30 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 10 Dec 2018 00:11:08 +0000 (00:11 +0000)
- Remove org.projectx.bt_event policy
- Apply default deny for org.projectx.bluetooth.share
- Add send_member for org.tizen.csd.Call.Instance

Change-Id: Ia50f24d807b0f180bcd74f02886f28cc57474d5e

bt-service-adaptation/bluetooth-frwk-service.conf.in

index 28cbf06..c80bfc8 100644 (file)
         <allow send_destination="org.projectx.bt"/>
         <allow own="org.bluez.obex"/>
         <allow send_destination="org.bluez.obex"/>
-        <allow send_interface="org.tizen.csd.Call.Instance"/>
+        <allow own="org.projectx.bluetooth.share"/>
+        <allow send_destination="org.projectx.bluetooth.share"/>
+        <allow send_interface="org.tizen.csd.Call.Instance" send_member="SendDtmf"/>
+        <allow send_interface="org.tizen.csd.Call.Instance" send_member="VendorCmd"/>
     </policy>
     <policy context="default">
         <deny own="org.projectx.bt"/>
         <deny send_destination="org.projectx.bt"/>
         <deny own="org.bluez.obex"/>
         <deny send_destination="org.bluez.obex"/>
-
         <allow send_destination="org.projectx.bt" send_interface="org.projectx.bt"/>
         <allow send_destination="org.projectx.bt" send_interface="org.freedesktop.DBus.Properties" send_member="GetAll"/>
         <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" privilege="http://tizen.org/privilege/bluetooth.admin"/>
         <allow send_destination="org.projectx.bt" send_interface="org.bluez.obex.reply"/>
-        <allow send_destination="org.projectx.bt_event"/>
-        <allow send_destination="org.projectx.bluetooth.share"/>
+        <deny own="org.projectx.bluetooth.share"/>
+        <deny send_destination="org.projectx.bluetooth.share"/>
     </policy>
 </busconfig>