blob: c76e9b7f8c5eda040d47799a5a949103fe8f1eeb [file] [log] [blame]
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
Copyright 2016 The Chromium 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 file will be installed at /etc/dbus-1/system.d on Chromium OS.
-->
<busconfig>
<policy user="imageloaderd">
<allow own="org.chromium.ImageLoader" />
<allow receive_sender="org.chromium.ImageLoader" />
<allow send_destination="org.chromium.ImageLoader" />
</policy>
<policy user="chronos">
<allow receive_sender="org.chromium.ImageLoader" />
<allow send_destination="org.chromium.ImageLoader"
send_interface="org.chromium.ImageLoaderInterface"
send_member="RegisterComponent" />
<allow send_destination="org.chromium.ImageLoader"
send_interface="org.chromium.ImageLoaderInterface"
send_member="GetComponentVersion" />
<allow send_destination="org.chromium.ImageLoader"
send_interface="org.chromium.ImageLoaderInterface"
send_member="LoadComponent" />
<allow send_destination="org.chromium.ImageLoader"
send_interface="org.chromium.ImageLoaderInterface"
send_member="LoadComponentAtPath" />
</policy>
<policy context="default">
<deny send_destination="org.chromium.ImageLoader"/>
</policy>
</busconfig>