Fix dbus policy issue 54/176554/1 accepted/tizen/unified/20180423.062834 submit/tizen/20180423.011216
authorWootak Jung <wootak.jung@samsung.com>
Fri, 20 Apr 2018 01:07:19 +0000 (10:07 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 20 Apr 2018 01:07:19 +0000 (10:07 +0900)
Remove default deny rule

Change-Id: I3bd54815bd383e285f344104c57cba02a4feade7

ag-agent/bluetooth-ag-agent.conf.in
bt-ipsp/bluetooth-frwk-ipsp.conf
hf-agent/bluetooth-hf-agent.conf.in

index 661c743..c18a6bb 100644 (file)
@@ -3,8 +3,6 @@
 <busconfig>
     <policy context="default">
         <deny own="org.bluez.ag_agent"/>
-        <deny receive_sender="org.bluez.ag_agent"/>
-        <deny send_destination="org.bluez.ag_agent"/>
         <check send_destination="org.bluez.ag_agent" send_interface="Org.Hfp.App.Interface" send_member="CheckPrivilege" privilege="http://tizen.org/privilege/bluetooth.admin" />
         <check send_destination="org.bluez.ag_agent" send_interface="Org.Hfp.App.Interface" send_member="Play" privilege="http://tizen.org/privilege/bluetooth.admin" />
         <check send_destination="org.bluez.ag_agent" send_interface="Org.Hfp.App.Interface" send_member="Stop" privilege="http://tizen.org/privilege/bluetooth.admin" />
         <check send_destination="org.bluez.ag_agent" send_interface="Org.Hfp.App.Interface" send_member="SetSpeakerGain" privilege="http://tizen.org/privilege/bluetooth.admin" />
         <check send_destination="org.bluez.ag_agent" send_interface="Org.Hfp.App.Interface" send_member="SwapHeadset" privilege="http://tizen.org/privilege/bluetooth.admin" />
     </policy>
-    <policy group="pulse">
-           <allow receive_interface="Org.Hfp.App.Interface"/>
-        <allow send_interface="Org.Hfp.App.Interface"/>
-    </policy>
     <policy group="network_fw">
         <allow own="org.bluez.ag_agent"/>
-        <allow receive_sender="org.bluez.ag_agent"/>
-        <allow send_destination="org.bluez.ag_agent"/>
     </policy>
 </busconfig>
index 7bd3ef5..a51c25f 100644 (file)
@@ -3,12 +3,10 @@
 <busconfig>
     <policy context="default">
         <deny own="org.projectx.bt_ipsp"/>
-        <deny receive_sender="org.projectx.bt_ipsp"/>
-        <deny send_destination="org.projectx.bt_ipsp"/>
+        <allow receive_sender="org.projectx.bt_ipsp"/>
+        <allow send_destination="org.projectx.bt_ipsp"/>
     </policy>
     <policy group="network_fw">
         <allow own="org.projectx.bt_ipsp"/>
-        <allow receive_sender="org.projectx.bt_ipsp"/>
-        <allow send_destination="org.projectx.bt_ipsp"/>
     </policy>
 </busconfig>
index bd46bd2..4de8a4e 100644 (file)
@@ -3,8 +3,6 @@
 <busconfig>
     <policy context="default">
         <deny own="org.bluez.hf_agent"/>
-        <deny receive_sender="org.bluez.hf_agent"/>
-        <deny send_destination="org.bluez.hf_agent"/>
         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="AnswerCall" privilege="http://tizen.org/privilege/bluetooth.admin" />
         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="TerminateCall" privilege="http://tizen.org/privilege/bluetooth.admin" />
         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="InitiateCall" privilege="http://tizen.org/privilege/bluetooth.admin" />
         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="SpeakerGain" privilege="http://tizen.org/privilege/bluetooth.admin" />
         <check send_destination="org.bluez.hf_agent" send_interface="org.tizen.HfApp" send_member="SendDtmf" privilege="http://tizen.org/privilege/bluetooth.admin" />
     </policy>
-    <policy group="pulse">
-           <allow receive_interface="org.tizen.HfApp"/>
-           <allow send_interface="org.tizen.HfApp"/>
-    </policy>
     <policy group="network_fw">
-           <allow own="org.bluez.hf_agent"/>
-           <allow receive_sender="org.bluez.hf_agent"/>
-           <allow send_destination="org.bluez.hf_agent"/>
+        <allow own="org.bluez.hf_agent"/>
     </policy>
 </busconfig>