blob: 932d5754e930761241cf7ca6f920c86eb9d0eaae [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 2020 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.
-->
<busconfig>
<!-- TODO(alanlxl) change the user -->
<policy user="federated-service">
<allow own="org.chromium.Federated" />
</policy>
<policy user="chronos">
<!-- methods allowed -->
<allow send_destination="org.chromium.Federated"
send_interface="org.chromium.Federated"
send_member="BootstrapMojoConnection" />
</policy>
<!-- For testing purpose -->
<policy user="root">
<allow own="org.chromium.Federated" />
<allow send_destination="org.chromium.Federated"
send_interface="org.chromium.Federated"
send_member="BootstrapMojoConnection" />
</policy>
</busconfig>