1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
2 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
4 <!-- ../system.conf have denied everything, so we just punch some holes -->
6 <allow own="org.bluez.frwk_agent"/>
7 <allow send_destination="org.bluez.frwk_agent"/>
8 <allow own="org.bluez"/>
9 <allow send_destination="org.bluez"/>
11 <!-- allow users of bt_use group (Tizen BT group) to
12 communicate with bluetoothd -->
13 <policy group="bt_use">
14 <allow send_destination="org.bluez.frwk_agent"/>
15 <allow send_destination="org.bluez"/>
17 <!-- allow users of lp group (printing subsystem) to
18 communicate with bluetoothd -->
20 <allow send_destination="org.bluez.frwk_agent"/>
21 <allow send_destination="org.bluez"/>
23 <policy group="network_fw">
24 <allow own="org.bluez.frwk_agent"/>
25 <allow send_destination="org.bluez.frwk_agent"/>
26 <allow own="org.bluez"/>
27 <allow send_destination="org.bluez"/>
29 <policy context="default">
30 <deny own="org.bluez"/>
31 <deny send_destination="org.bluez"/>
32 <deny own="org.bluez.frwk_agent"/>
33 <deny send_destination="org.bluez.frwk_agent"/>
35 <allow send_destination="org.bluez" send_interface="org.freedesktop.DBus.Properties" send_member="Get"/>
36 <allow send_destination="org.bluez" send_interface="org.freedesktop.DBus.Properties" send_member="GetAll"/>
37 <allow send_destination="org.bluez" send_interface="org.freedesktop.DBus.ObjectManager" send_member="DefaultAdapter"/>
38 <allow send_destination="org.bluez" send_interface="org.freedesktop.DBus.ObjectManager" send_member="GetManagedObjects"/>
40 <check send_destination="org.bluez" send_interface="org.bluez.Adapter1" send_member="CreateDevice" privilege="http://tizen.org/privilege/bluetooth"/>
42 <allow send_destination="org.bluez" send_interface="org.bluez.Device1" send_member="DiscoverServices"/>
43 <check send_destination="org.bluez" send_interface="org.bluez.Device1" send_member="ConnectProfile" privilege="http://tizen.org/privilege/bluetooth"/>
44 <check send_destination="org.bluez" send_interface="org.bluez.Device1" send_member="DisconnectProfile" privilege="http://tizen.org/privilege/bluetooth"/>
45 <check send_destination="org.bluez" send_interface="org.bluez.Device1" send_member="DisconnectExtProfile" privilege="http://tizen.org/privilege/bluetooth"/>
46 <check send_destination="org.bluez" send_interface="org.bluez.Device1" send_member="CancelDiscovery" privilege="http://tizen.org/privilege/bluetooth"/>
48 <allow send_destination="org.bluez" send_interface="org.bluez.GattManager1" send_member="GetService"/>
49 <check send_destination="org.bluez" send_interface="org.bluez.GattManager1" send_member="RegisterApplication" privilege="http://tizen.org/privilege/bluetooth"/>
50 <check send_destination="org.bluez" send_interface="org.bluez.GattManager1" send_member="UnregisterApplication" privilege="http://tizen.org/privilege/bluetooth"/>
52 <check send_destination="org.bluez" send_interface="org.bluez.ProfileManager1" send_member="RegisterProfile" privilege="http://tizen.org/privilege/bluetooth"/>
53 <check send_destination="org.bluez" send_interface="org.bluez.ProfileManager1" send_member="RegisterProfile1" privilege="http://tizen.org/privilege/bluetooth.admin"/>
54 <check send_destination="org.bluez" send_interface="org.bluez.ProfileManager1" send_member="RegisterProfile2" privilege="http://tizen.org/privilege/bluetooth.admin"/>
55 <check send_destination="org.bluez" send_interface="org.bluez.ProfileManager1" send_member="UnregisterProfile" privilege="http://tizen.org/privilege/bluetooth"/>
57 <check send_destination="org.bluez" send_interface="org.bluez.Input1" send_member="GetFD" privilege="http://tizen.org/privilege/bluetooth"/>