deviced: Change wrong dbus configuration 67/35867/1
authorJiyoung Yun <jy910.yun@samsung.com>
Wed, 25 Feb 2015 11:35:32 +0000 (20:35 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Wed, 25 Feb 2015 11:35:32 +0000 (20:35 +0900)
Root, console and default user can send to device object path.

Change-Id: I22e24d33cf5b3f93731982f805aba6f2fadccd03
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
scripts/deviced.conf

index e70c8e8..51ca6a0 100644 (file)
@@ -1,23 +1,16 @@
 <!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="0">
+    <policy user="root">
         <allow own="org.tizen.system.deviced"/>
-               <allow send_destination="org.tizen.system.deviced"/>
-               <allow send_interface="org.tizen.system.deviced.display"/>
+        <allow send_destination="org.tizen.system.deviced"/>
+        <allow send_interface="org.tizen.system.deviced.display"/>
+    </policy>
+    <policy at_console="true">
+        <allow send_destination="org.tizen.system.deviced"/>
     </policy>
-       <policy user="5000">
-               <allow own="org.tizen.system.deviced"/>
-               <allow send_destination="org.tizen.system.deviced"/>
-               <allow send_interface="org.tizen.system.deviced.display"/>
-       </policy>
-       <policy user="pulse">
-               <allow own="org.tizen.system.deviced"/>
-               <allow send_destination="org.tizen.system.deviced"/>
-               <allow send_interface="org.tizen.system.deviced.display"/>
-       </policy>
     <policy context="default">
         <deny own="org.tizen.system.deviced"/>
-               <deny send_destination="org.tizen.system.deviced"/>
+        <allow send_destination="org.tizen.system.deviced"/>
     </policy>
 </busconfig>