aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/libhomescreen/libhomescreen-2017
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-11-30 22:31:14 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-12-01 06:55:20 +0000
commit1f7119d8aa3e37e2a29ad8990c8e91472a70a3a5 (patch)
tree56985ffeb3ee8a11be664201ac7c4f0daae48fce /recipes-demo-hmi/libhomescreen/libhomescreen-2017
parent74e84ca7839d0dab275c12dd63b62c1d6b96080a (diff)
libhomescreen-2017: correct dbus permissions to allow statusbar access
Settings application using bluetooth + wifi bindings was able to change HMI status because of invalid dbus permissions access Bug-AGL: SPEC-1150 Change-Id: Id730c67dc8e20dfc38424247fe68ce16939aff8b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'recipes-demo-hmi/libhomescreen/libhomescreen-2017')
-rw-r--r--recipes-demo-hmi/libhomescreen/libhomescreen-2017/org.agl.statusbar.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-demo-hmi/libhomescreen/libhomescreen-2017/org.agl.statusbar.conf b/recipes-demo-hmi/libhomescreen/libhomescreen-2017/org.agl.statusbar.conf
new file mode 100644
index 000000000..dc3852eee
--- /dev/null
+++ b/recipes-demo-hmi/libhomescreen/libhomescreen-2017/org.agl.statusbar.conf
@@ -0,0 +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 context="default">
+ <!-- Allow everyone to talk to main service. We'll later add an agent to
+ only share the location if user allows it. -->
+ <allow send_interface="org.agl.statusbar"/>
+ </policy>
+
+ <policy user="root">
+ <!-- Allow root to own the name on the bus -->
+ <allow own="org.agl.statusbar"/>
+ </policy>
+</busconfig>
+