52c610eb603d2def1fe788743c6da9a72c712197
[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.Profile1" send_member="NewConnection"/>
8         <allow send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
9         <!-- No send_destination because private connection does not have well-known service name -->
10         <allow send_interface="org.freedesktop.DBus.ObjectManager" send_member="GetManagedObjects"/>
11         <allow send_interface="org.bluez.GattCharacteristic1" send_type="method_call"/>
12         <allow send_interface="org.bluez.GattDescriptor1" send_type="method_call"/>
13     </policy>
14     <policy group="network_fw">
15         <!-- service name(org.bt.frwk.p<pid>) is changeable by pid -->
16         <allow own_prefix="org.bt.frwk"/>
17         <allow send_interface="org.bluez.Profile1" send_member="NewConnection"/>
18         <allow send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
19         <!-- No send_destination because private connection does not have well-known service name -->
20         <allow send_interface="org.freedesktop.DBus.ObjectManager" send_member="GetManagedObjects"/>
21         <allow send_interface="org.bluez.GattCharacteristic1" send_type="method_call"/>
22         <allow send_interface="org.bluez.GattDescriptor1" send_type="method_call"/>
23     </policy>
24     <policy context="default">
25         <deny own_prefix="org.bt.frwk"/>
26         <deny send_interface="org.bluez.Profile1" send_member="NewConnection"/>
27         <deny send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
28         <deny send_interface="org.bluez.GattCharacteristic1" send_type="method_call"/>
29         <deny send_interface="org.bluez.GattDescriptor1" send_type="method_call"/>
30     </policy>
31 </busconfig>