scripts: Simplify the deny permission for PASS dbus interface 60/177260/2 accepted/tizen/unified/20180430.072116 submit/tizen/20180427.074549
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 25 Apr 2018 08:15:45 +0000 (17:15 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 26 Apr 2018 12:38:12 +0000 (21:38 +0900)
Prior to that PASS denies the each d-bus interface for pmqos/pass core.
Deny the parent dbus interface instead of each d-bus interface
when user is not root and unauthorized user.

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

index 9c63d7b..aa07ffd 100644 (file)
@@ -10,9 +10,7 @@
                send_interface="org.tizen.system.pass.pmqos"/>
     </policy>
     <policy context="default">
-        <deny send_destination="org.tizen.system.pass"
-               send_interface="org.tizen.system.pass.pmqos"/>
-        <deny send_destination="org.tizen.system.pass"
-               send_interface="org.tizen.system.pass.core"/>
+        <deny own="org.tizen.system.pass"/>
+        <deny send_destination="org.tizen.system.pass"/>
     </policy>
 </busconfig>