blob: 8ac20637cb878049d4fd4d289d640d1e5e6e4e58 [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 2019 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="hermes">
<allow own="org.chromium.Hermes" />
<allow receive_sender="org.chromium.Hermes" />
<allow send_destination="org.chromium.Hermes" />
</policy>
<policy user="chronos">
<allow receive_sender="org.chromium.Hermes" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes"
send_member="InstallProfile" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes"
send_member="UninstallProfile" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes"
send_member="EnableProfile" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes"
send_member="DisableProfile" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes"
send_member="SetProfileNickname" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes"
send_member="GetInstalledProfiles" />
</policy>
<policy user="root">
<allow receive_sender="org.chromium.Hermes" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes"
send_member="SetTestMode" />
</policy>
<policy context="default">
<deny send_destination="org.chromium.Hermes" />
</policy>
</busconfig>