dbus: modify dbus policy correctly 74/171574/2 accepted/tizen/unified/20180309.202955 submit/tizen/20180308.083932
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 6 Mar 2018 02:12:55 +0000 (11:12 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Tue, 6 Mar 2018 11:01:40 +0000 (20:01 +0900)
Change-Id: I64eb9361c4f5ad7c3dc418ab927b53afcce589a7
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
scripts/feedbackd.conf

index d17e13a..05f4ece 100755 (executable)
@@ -1,12 +1,21 @@
 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
 <busconfig>
-    <policy context="default">
-       <deny send_destination="org.tizen.system.vibrator"/>
-       <allow send_type="signal" send_destination="org.tizen.system.vibrator"/>
+    <policy user="root">
+        <allow own="org.tizen.system.vibrator"/>
+        <allow send_destination="org.tizen.system.vibrator"/>
+    </policy>
 
+    <policy group="system_fw">
+        <allow own="org.tizen.system.vibrator"/>
+    </policy>
+
+    <policy context="default">
+        <deny send_destination="org.tizen.system.vibrator"/>
+        <allow send_destination="org.tizen.system.vibrator" send_type="signal"/>
         <check send_destination="org.tizen.system.vibrator"
-                send_interface="org.tizen.system.vibrator.haptic"
-                privilege="http://tizen.org/privilege/haptic"/>
+            send_path="/Org/Tizen/System/Vibrator/Haptic"
+            privilege="http://tizen.org/privilege/haptic"/>
     </policy>
 </busconfig>