Add interfaces for BT AVC feature with pulseaudio
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-adaptation / bluetooth-frwk-service.conf.in
index f592662..7c58685 100644 (file)
@@ -3,19 +3,37 @@
 <busconfig>
     <policy user="root">
         <allow own="org.projectx.bt"/>
+        <allow send_destination="org.projectx.bt"/>
+        <allow own="org.bluez.obex"/>
+        <allow send_destination="org.bluez.obex"/>
     </policy>
-    <policy user="network_fw">
+    <policy group="network_fw">
         <allow own="org.projectx.bt"/>
-       <allow send_destination="org.bluez.obex"/>
-       <allow send_destination="org.bluez.obex" send_interface="org.freedesktop.DBus.Properties"/>
-       <allow send_destination="org.projectx.bt" send_interface="org.bluez.obex.Agent1"/>
+        <allow send_destination="org.projectx.bt"/>
+        <allow own="org.bluez.obex"/>
+        <allow send_destination="org.bluez.obex"/>
+        <allow own="org.projectx.bluetooth.share"/>
+        <allow send_destination="org.projectx.bluetooth.share"/>
+        <allow send_destination_prefix="org.tizen.csd.Call.Instance" send_interface="org.tizen.csd.Call.Instance" send_member="SendDtmf"/>
+        <allow send_destination_prefix="org.tizen.csd.Call.Instance" send_interface="org.tizen.csd.Call.Instance" send_member="VendorCmd"/>
+    </policy>
+    <policy group="pulse">
+        <allow send_destination="org.projectx.bt"/>
     </policy>
     <policy context="default">
         <deny own="org.projectx.bt"/>
+        <deny send_destination="org.projectx.bt"/>
+        <deny own="org.bluez.obex"/>
+        <deny send_destination="org.bluez.obex"/>
         <allow send_destination="org.projectx.bt" send_interface="org.projectx.bt"/>
-        <allow send_destination="org.projectx.bt_event"/>
-        <allow send_destination="org.projectx.bluetooth.share"/>
-        <allow send_destination="org.tizen.csd.Call.Instance"/>
-       <allow send_destination="org.projectx.bt" send_interface="org.bluez.obex.reply"/>
+        <allow send_destination="org.projectx.bt" send_interface="org.freedesktop.DBus.Properties" send_member="GetAll"/>
+        <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" privilege="http://tizen.org/privilege/bluetooth.admin"/>
+        <allow send_destination="org.projectx.bt" send_interface="org.bluez.obex.reply"/>
+        <deny own="org.projectx.bluetooth.share"/>
+        <deny send_destination="org.projectx.bluetooth.share"/>
+        <deny own_prefix="org.tizen.csd.Call.Instance"/>
+        <allow own_prefix="org.tizen.csd.Call.Instance"/>
+        <deny send_destination_prefix="org.tizen.csd.Call.Instance" send_interface="org.tizen.csd.Call.Instance" send_member="SendDtmf"/>
+        <deny send_destination_prefix="org.tizen.csd.Call.Instance" send_interface="org.tizen.csd.Call.Instance" send_member="VendorCmd"/>
     </policy>
 </busconfig>