Modify dbus policy conf file
[platform/core/connectivity/bluetooth-frwk.git] / bt-core / bluetooth-frwk-core.conf
index 815a54a..665f75c 100755 (executable)
@@ -3,12 +3,23 @@
 <busconfig>
     <policy user="root">
         <allow own="org.projectx.bt_core"/>
-    </policy>
-    <policy at_console="true">
-        <allow send_destination="org.projectx.bt_core" />
+        <allow receive_sender="org.projectx.bt_core"/>
+        <allow send_destination="org.projectx.bt_core"/>
     </policy>
     <policy context="default">
-        <allow send_destination="org.projectx.bt_core" />
+        <deny own="org.projectx.bt_core"/>
+        <deny receive_sender="org.projectx.bt_core"/>
+        <deny send_destination="org.projectx.bt_core"/>
+    </policy>
+    <policy group="network_fw">
+        <allow own="org.projectx.bt_core"/>
+        <allow receive_sender="org.projectx.bt_core"/>
+        <allow send_destination="org.projectx.bt_core"/>
+    </policy>
+    <policy group="system_fw">
+        <allow own="org.projectx.bt_core"/>
+        <allow receive_sender="org.projectx.bt_core"/>
+        <allow send_destination="org.projectx.bt_core"/>
     </policy>
 </busconfig>