Modify dbus policies based on default deny
[platform/core/connectivity/bluetooth-agent.git] / map-agent / bluetooth_map_agent.conf
1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
2  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3 <busconfig>
4     <policy context="default">
5         <deny own="org.bluez.map_agent"/>
6         <deny send_destination="org.bluez.map_agent"/>
7         <allow send_destination="org.bluez.map_agent" send_interface="org.bluez.MapAgent"/>
8         <allow send_destination="org.bluez.map_agent" send_interface="org.freedesktop.DBus.Properties" send_member="GetAll"/>
9         <check send_destination="org.bluez.map_agent" send_interface="org.bluez.MapAgent" send_member="PushMessage" privilege="http://tizen.org/privilege/bluetooth.admin"/>
10         <check send_destination="org.bluez.map_agent" send_interface="org.bluez.MapAgent" send_member="PushMessageData" privilege="http://tizen.org/privilege/bluetooth.admin"/>
11         <check send_destination="org.bluez.map_agent" send_interface="org.bluez.MapAgent" send_member="UpdateMessage" privilege="http://tizen.org/privilege/bluetooth.admin"/>
12         <check send_destination="org.bluez.map_agent" send_interface="org.bluez.MapAgent" send_member="SetReadStatus" privilege="http://tizen.org/privilege/bluetooth.admin"/>
13         <check send_destination="org.bluez.map_agent" send_interface="org.bluez.MapAgent" send_member="DestroyAgent" privilege="http://tizen.org/privilege/bluetooth.admin"/>
14     </policy>
15     <policy group="network_fw">
16         <allow own="org.bluez.map_agent"/>
17     </policy>
18 </busconfig>