blob: 5942a354442f4378045f745efd1acb7b557345e9 [file] [log] [blame]
<!--
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 file will be installed at /etc/dbus-1/system.d on Chromium OS.
-->
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="modem">
<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.freedesktop.DBus.Properties" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Euicc" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Manager" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Profile" />
<deny send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Euicc"
send_member="SetTestMode" />
<deny send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Euicc"
send_member="UseTestCerts" />
</policy>
<policy user="shill-scripts">
<allow receive_sender="org.chromium.Hermes" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.freedesktop.DBus.Properties" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Euicc" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Manager" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Profile" />
</policy>
<policy user="root">
<allow own="org.chromium.Hermes" />
<allow receive_sender="org.chromium.Hermes" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.freedesktop.DBus.Properties" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Euicc" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Manager" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.chromium.Hermes.Profile" />
</policy>
<policy user="debugd">
<allow receive_sender="org.chromium.Hermes" />
<allow send_destination="org.chromium.Hermes"
send_interface="org.freedesktop.DBus.Properties"
send_member="Get"/>
<allow send_destination="org.chromium.Hermes"
send_interface="org.freedesktop.DBus.Properties"
send_member="GetAll"/>
</policy>
<policy context="default">
<deny send_destination="org.chromium.Hermes" />
</policy>
</busconfig>