Fix bt_core dbus policy issue 12/176312/2
authorWootak Jung <wootak.jung@samsung.com>
Wed, 18 Apr 2018 09:03:50 +0000 (18:03 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 20 Apr 2018 01:07:08 +0000 (10:07 +0900)
Change-Id: I34c3863ecba512615267ed46a07135429b21ed67

bt-core/bluetooth-frwk-core.conf
bt-service-adaptation/bluetooth-frwk-service.conf.in

index b0a45e0..6d06a5c 100755 (executable)
@@ -3,6 +3,8 @@
 <busconfig>
     <policy user="root">
         <allow own="org.projectx.bt_core"/>
+        <allow receive_sender="org.projectx.bt_core"/>
+        <allow send_destination="org.projectx.bt_core"/>
     </policy>
     <policy context="default">
         <deny own="org.projectx.bt_core"/>
@@ -10,9 +12,9 @@
         <deny send_destination="org.projectx.bt_core"/>
     </policy>
     <policy group="network_fw">
-        <deny own="org.projectx.bt_core"/>
-        <deny receive_sender="org.projectx.bt_core"/>
-        <deny send_destination="org.projectx.bt_core"/>
+        <allow own="org.projectx.bt_core"/>
+        <allow receive_sender="org.projectx.bt_core"/>
+        <allow send_destination="org.projectx.bt_core"/>
     </policy>
 </busconfig>
 
index 6c82cd2..44b9613 100644 (file)
@@ -9,41 +9,23 @@
     </policy>
     <policy context="default">
         <deny own="org.projectx.bt"/>
-        <deny receive_sender="org.projectx.bt"/>
-        <deny send_destination="org.projectx.bt"/>
         <deny own="org.projectx.bt_event"/>
-        <deny receive_sender="org.projectx.bt_event"/>
-        <deny send_destination="org.projectx.bt_event"/>
         <deny own="org.projectx.bluetooth.share"/>
-        <deny receive_sender="org.projectx.bluetooth.share"/>
-        <deny send_destination="org.projectx.bluetooth.share"/>
         <deny own="org.tizen.csd.Call.Instance"/>
-        <deny receive_sender="org.tizen.csd.Call.Instance"/>
-        <deny send_destination="org.tizen.csd.Call.Instance"/>
-    </policy>
-    <policy group="network_fw">
-        <allow own="org.projectx.bt"/>
         <allow receive_sender="org.projectx.bt"/>
         <allow send_destination="org.projectx.bt"/>
-        <allow own="org.projectx.bt_event"/>
         <allow receive_sender="org.projectx.bt_event"/>
         <allow send_destination="org.projectx.bt_event"/>
-        <allow own="org.projectx.bluetooth.share"/>
         <allow receive_sender="org.projectx.bluetooth.share"/>
         <allow send_destination="org.projectx.bluetooth.share"/>
-        <allow own="org.tizen.csd.Call.Instance"/>
         <allow receive_sender="org.tizen.csd.Call.Instance"/>
         <allow send_destination="org.tizen.csd.Call.Instance"/>
     </policy>
-    <policy user="owner">
-        <allow receive_sender="org.projectx.bt"/>
-        <allow send_destination="org.projectx.bt"/>
-        <allow receive_sender="org.projectx.bt_event"/>
-        <allow send_destination="org.projectx.bt_event"/>
-        <allow receive_sender="org.projectx.bluetooth.share"/>
-        <allow send_destination="org.projectx.bluetooth.share"/>
-        <allow receive_sender="org.tizen.csd.Call.Instance"/>
-        <allow send_destination="org.tizen.csd.Call.Instance"/>
+    <policy group="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>
 </busconfig>