blob: be8da913fb1bfaf899889ff2a8a6a8bd2d779261 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Copyright 2019 The Chromium OS Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!-- This configuration file specifies the required security policies
for MediaPerception to work. -->
<!-- Only user rtanalytics can own media perception -->
<policy user="rtanalytics">
<allow own="org.chromium.MediaPerception"/>
</policy>
<!-- Allow anyone to call into the service -->
<policy user="chronos">
<allow send_destination="org.chromium.MediaPerception"
send_interface="org.chromium.MediaPerception"/>
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call" send_member="Start"
send_path="/com/ubuntu/Upstart/jobs/rtanalytics"/>
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call" send_member="Stop"
send_path="/com/ubuntu/Upstart/jobs/rtanalytics"/>
<allow send_destination="com.ubuntu.Upstart"
send_interface="com.ubuntu.Upstart0_6.Job"
send_type="method_call" send_member="Restart"
send_path="/com/ubuntu/Upstart/jobs/rtanalytics"/>
</policy>
</busconfig>