<allow own_prefix="org.bt.frwk"/>
<allow send_interface="org.bluez.Profile1" send_member="NewConnection"/>
<allow send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
- <!-- No send_destination because private connection does not have well-known service name -->
- <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
- <allow send_interface="org.bluez.GattCharacteristic1"/>
- <allow send_interface="org.bluez.GattDescriptor1"/>
+ <allow own_prefix="org.frwk.gatt_service"/>
+ <allow send_destination_prefix="org.frwk.gatt_service" send_interface="org.freedesktop.DBus.Properties"/>
+ <allow send_destination_prefix="org.frwk.gatt_service" send_interface="org.freedesktop.DBus.ObjectManager"/>
+ <allow send_destination_prefix="org.frwk.gatt_service" send_interface="org.bluez.GattCharacteristic1"/>
+ <allow send_destination_prefix="org.frwk.gatt_service" send_interface="org.bluez.GattDescriptor1"/>
</policy>
<policy group="network_fw">
<!-- service name(org.bt.frwk.p<pid>) is changeable by pid -->
<allow own_prefix="org.bt.frwk"/>
<allow send_interface="org.bluez.Profile1" send_member="NewConnection"/>
<allow send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
- <!-- No send_destination because private connection does not have well-known service name -->
- <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
- <allow send_interface="org.bluez.GattCharacteristic1"/>
- <allow send_interface="org.bluez.GattDescriptor1"/>
+ <allow own_prefix="org.frwk.gatt_service"/>
+ <allow send_destination_prefix="org.frwk.gatt_service" send_interface="org.freedesktop.DBus.Properties"/>
+ <allow send_destination_prefix="org.frwk.gatt_service" send_interface="org.freedesktop.DBus.ObjectManager"/>
+ <allow send_destination_prefix="org.frwk.gatt_service" send_interface="org.bluez.GattCharacteristic1"/>
+ <allow send_destination_prefix="org.frwk.gatt_service" send_interface="org.bluez.GattDescriptor1"/>
</policy>
<policy context="default">
<deny own_prefix="org.bt.frwk"/>
<deny send_interface="org.bluez.Profile1" send_member="NewConnection"/>
<deny send_interface="org.bluez.Profile1" send_member="RequestDisconnection"/>
+ <deny own_prefix="org.frwk.gatt_service"/>
+ <deny send_destination_prefix="org.frwk.gatt_service"/>
</policy>
</busconfig>