scripts: dbus: Allow root to use core d-bus interface 88/259988/1
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Jun 2021 07:23:14 +0000 (16:23 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Jun 2021 07:23:14 +0000 (16:23 +0900)
Allow 'root' to use core d-bus interface provided by PASS.
The 'root' have to control all d-bus interface without any restrictions.

Change-Id: Ie322e426cbc945209cd9188ffa642444ce69880a
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
scripts/pass.conf

index b96f2afd370b8b7901285e8f76bd7ba38e4019d6..abfdfdd7dd624785fe3f2dec182f2751eb205ecd 100644 (file)
@@ -2,6 +2,8 @@
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
     <policy user="root">
+        <allow send_destination="org.tizen.system.pass"
+               send_interface="org.tizen.system.pass.core"/>
         <allow send_destination="org.tizen.system.pass"
                send_interface="org.tizen.system.pass.pmqos"/>
         <allow send_destination="org.tizen.system.thermal"