Modify the dbus policy for agent1 61/179861/2
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 23 May 2018 04:50:11 +0000 (13:50 +0900)
committerPyun DoHyun <dh79.pyun@samsung.com>
Mon, 28 May 2018 04:51:43 +0000 (04:51 +0000)
Change-Id: I1dc605be738a3c354288850a9f87c7492581125a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-oal/bluez_hal/bluetooth-frwk-gap-agent.conf

index 53ba193..0358078 100644 (file)
     <policy context="default">
         <deny own="org.bluez.Agent1"/>
         <allow receive_sender="org.bluez.Agent1"/>
-        <deny send_destination="org.bluez.Agent1"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="RequestPasskey" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="DisplayPasskey" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="RequestConfirmation" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="RequestAuthorization" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="AuthorizeService" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="Cancel" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="Release" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="ReplyPinCode" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="ReplyPasskey" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="ReplyConfirmation" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="ReplyAuthorize" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="ConfirmModeChange" privilege="http://tizen.org/privilege/bluetooth.admin"/>
-        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" send_member="GetDiscoverableTimeout" privilege="http://tizen.org/privilege/bluetooth.admin"/>
+        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" privilege="http://tizen.org/privilege/bluetooth.admin"/>
     </policy>
 </busconfig>