b76e79c6534c12ee26c12357fc9b7376a3546535
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / bluetooth-frwk-gap-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 user="root">
5         <!-- service name(org.bt.frwk.p<pid>) is changeable by pid -->
6         <allow own_prefix="org.bt.frwk"/>
7         <allow send_interface="org.bluez.GattCharacteristic1"/>
8             <allow send_destination="org.bluez"/>
9         <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
10         <allow send_interface="org.bluez.Profile1" send_member="NewConnection"/>
11         <allow send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
12     </policy>
13     <policy group="network_fw">
14         <!-- service name(org.bt.frwk.p<pid>) is changeable by pid -->
15         <allow own_prefix="org.bt.frwk"/>
16         <allow send_interface="org.bluez.GattCharacteristic1"/>
17             <allow send_destination="org.bluez"/>
18         <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
19         <allow send_interface="org.bluez.Profile1" send_member="NewConnection"/>
20         <allow send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
21     </policy>
22     <policy context="default">
23         <deny own_prefix="org.bt.frwk"/>
24         <deny send_interface="org.bluez.GattCharacteristic1"/>
25         <deny send_destination="org.bluez"/>
26         <deny send_interface="org.freedesktop.DBus.ObjectManager"/>
27         <deny send_interface="org.bluez.Profile1" send_member="NewConnection"/>
28         <deny send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
29     </policy>
30 </busconfig>
31