Commit 9743e6da authored by Allen Webb's avatar Allen Webb Committed by Commit Bot

ChromeFeaturesService: Allow root to check enabled features over D-Bus.

This simplifies tests and upstart scripts that check if features are
enabled.

BUG=chromium:915754

Change-Id: I35b5d1fb91a55dbde3e540a3d1dd8321dd12335a
Reviewed-on: https://chromium-review.googlesource.com/c/1440125Reviewed-by: default avatarGreg Kerr <kerrnel@chromium.org>
Commit-Queue: Allen Webb <allenwebb@google.com>
Cr-Commit-Position: refs/heads/master@{#626796}
parent 92675c52
...@@ -10,4 +10,10 @@ ...@@ -10,4 +10,10 @@
<policy user="chronos"> <policy user="chronos">
<allow own="org.chromium.ChromeFeaturesService"/> <allow own="org.chromium.ChromeFeaturesService"/>
</policy> </policy>
<!-- upstart and tast run as root -->
<policy user="root">
<allow send_destination="org.chromium.ChromeFeaturesService"
send_interface="org.chromium.ChromeFeaturesServiceInterface"/>
</policy>
</busconfig> </busconfig>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment