Modify pass.conf to add org.tizen.system.thermal 34/206634/4
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 22 May 2019 08:37:04 +0000 (17:37 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 27 May 2019 01:07:25 +0000 (10:07 +0900)
Change-Id: Idb32f28286f7a4aa8fb44539b0e818c6c711cee1
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
scripts/pass.conf

index e622253d9f2882fa4cbff1cefad95038966c08ca..de325a5c0cef3415cbc2cb11a1163800b750d2d3 100644 (file)
@@ -1,20 +1,18 @@
 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
-    <policy user="root">
+    <policy user="system_fw">
+        <allow own="org.tizen.system.thermal"/>
         <allow own="org.tizen.system.pass"/>
-        <allow send_destination="org.tizen.system.pass"/>
-    </policy>
-    <policy group="system_fw">
-        <allow own="org.tizen.system.pass"/>
-        <allow send_destination="org.tizen.system.pass"/>
     </policy>
     <policy user="app_fw">
         <allow send_destination="org.tizen.system.pass"
                send_interface="org.tizen.system.pass.pmqos"/>
     </policy>
     <policy context="default">
+        <deny own="org.tizen.system.thermal"/>
+        <deny send_destination="org.tizen.system.thermal" send_type="method_call"/>
         <deny own="org.tizen.system.pass"/>
-        <deny send_destination="org.tizen.system.pass"/>
+        <deny send_destination="org.tizen.system.pass" send_type="method_call"/>
     </policy>
 </busconfig>