Remove and modify for some dbus policies 45/190745/1 accepted/tizen/unified/20181011.095202 submit/tizen/20181009.235550
authorWootak Jung <wootak.jung@samsung.com>
Fri, 5 Oct 2018 05:06:04 +0000 (14:06 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 5 Oct 2018 05:19:22 +0000 (14:19 +0900)
- org.projectx.bt_event
 no need policy for using signal
- org.projectx.bluetooth.share
 bluetooth-share owns this service
- org.tizen.csd.Call.Instance
 user owns this service and called by network_fw

Change-Id: I3727e144ffcae9ad9ff12748c7ac5b51c08e0486

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

index 17eecaa..e03e6dc 100644 (file)
         <allow send_destination="org.projectx.bt"/>
         <allow own="org.bluez.obex"/>
         <allow send_destination="org.bluez.obex"/>
+        <allow own="org.projectx.bluetooth.share"/>
+        <allow send_destination="org.projectx.bluetooth.share"/>
+        <allow send_destination="org.tizen.csd.Call.Instance"/>
+    </policy>
+    <policy group="users">
+        <allow own="org.tizen.csd.Call.Instance"/>
+        <allow send_destination="org.tizen.csd.Call.Instance"/>
     </policy>
     <policy context="default">
         <deny own="org.projectx.bt"/>
@@ -23,8 +30,9 @@
         <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"/>
-        <allow send_destination="org.tizen.csd.Call.Instance"/>
+        <deny own="org.projectx.bluetooth.share"/>
+        <deny send_destination="org.projectx.bluetooth.share"/>
+        <deny own="org.tizen.csd.Call.Instance"/>
+        <deny send_destination="org.tizen.csd.Call.Instance"/>
     </policy>
 </busconfig>