summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2015-02-25 20:35:32 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2015-02-25 20:35:32 +0900
commitaf9e4848023c0e119870db80ffa944bb020653f7 (patch)
tree353a7624d198bbff0159c1a64c8ea539bfc8609e
parentee16b8e1929be48ccb750134ce5426d578674240 (diff)
downloaddeviced-af9e4848023c0e119870db80ffa944bb020653f7.tar.gz
deviced-af9e4848023c0e119870db80ffa944bb020653f7.tar.bz2
deviced-af9e4848023c0e119870db80ffa944bb020653f7.zip
deviced: Change wrong dbus configuration
Root, console and default user can send to device object path. Change-Id: I22e24d33cf5b3f93731982f805aba6f2fadccd03 Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
-rw-r--r--scripts/deviced.conf21
1 files changed, 7 insertions, 14 deletions
diff --git a/scripts/deviced.conf b/scripts/deviced.conf
index e70c8e8e..51ca6a03 100644
--- a/scripts/deviced.conf
+++ b/scripts/deviced.conf
@@ -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>