Update dbus conf for Agent1
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bluetooth-frwk-service.conf.in
index 9de942f..7dffda7 100644 (file)
@@ -1,27 +1,17 @@
 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
-    <policy group="system">
+    <policy user="root">
         <allow own="org.projectx.bt"/>
-        <allow own="org.projectx.bt_event"/>
-        <allow own="org.projectx.bluetooth.share"/>
-        <allow own="org.bluez.ag_agent"/>
-        <allow own="org.tizen.csd.Call.Instance"/>
-       <allow send_type="method_call"/>
     </policy>
-    <policy group="root">
+    <policy user="network_fw">
         <allow own="org.projectx.bt"/>
-        <allow own="org.projectx.bt_event"/>
-        <allow own="org.projectx.bluetooth.share"/>
-        <allow own="org.bluez.ag_agent"/>
-        <allow own="org.tizen.csd.Call.Instance"/>
-    <allow send_type="method_call"/>
-    </policy>
-    <policy at_console="true">
-        <allow send_destination="org.projectx.bt"/>
     </policy>
     <policy context="default">
-        <allow send_destination="org.projectx.bt"/>
+        <deny own="org.projectx.bt"/>
+        <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"/>
     </policy>
 </busconfig>
-