Add the allow and deny own dbus policy 75/178375/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 10 May 2018 00:50:29 +0000 (09:50 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 10 May 2018 00:50:29 +0000 (09:50 +0900)
Change-Id: Ib5af0b85404d031b087d97e4353e881868343e38
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service-adaptation/bluetooth-frwk-service.conf.in
bt-service/bluetooth-frwk-service.conf.in

index 863db31..96f5a83 100644 (file)
@@ -1,11 +1,14 @@
 <!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="default">
+    <policy user="root">
+        <allow own="org.projectx.bt"/>
+    </policy>
+    <policy user="network_fw">
         <allow own="org.projectx.bt"/>
-        <allow own="org.projectx.bt_event"/>
-        <allow own="org.projectx.bluetooth.share"/>
-        <allow own="org.tizen.csd.Call.Instance"/>
+    </policy>
+    <policy group="default">
+        <deny own="org.projectx.bt"/>
         <allow send_destination="org.projectx.bt"/>
         <allow send_destination="org.projectx.bt_event"/>
         <allow send_destination="org.projectx.bluetooth.share"/>
index 863db31..96f5a83 100644 (file)
@@ -1,11 +1,14 @@
 <!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="default">
+    <policy user="root">
+        <allow own="org.projectx.bt"/>
+    </policy>
+    <policy user="network_fw">
         <allow own="org.projectx.bt"/>
-        <allow own="org.projectx.bt_event"/>
-        <allow own="org.projectx.bluetooth.share"/>
-        <allow own="org.tizen.csd.Call.Instance"/>
+    </policy>
+    <policy group="default">
+        <deny own="org.projectx.bt"/>
         <allow send_destination="org.projectx.bt"/>
         <allow send_destination="org.projectx.bt_event"/>
         <allow send_destination="org.projectx.bluetooth.share"/>