blob: eb530e39b63d12cfc20807544f4d84a5c42b73db [file] [log] [blame] [edit]
<!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 ChromiumOS Authors
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="federated-service">
<allow own="org.chromium.Federated" />
<!-- for dlc installation -->
<allow send_destination="org.chromium.DlcService"
send_interface="org.chromium.DlcServiceInterface"
send_member="GetDlcState" />
<allow send_destination="org.chromium.DlcService"
send_interface="org.chromium.DlcServiceInterface"
send_member="Install" />
<!-- for WiFi meter status -->
<allow send_destination="org.chromium.flimflam"
send_interface="org.chromium.flimflam.Manager"
send_member="GetProperties"/>
<allow send_destination="org.chromium.flimflam"
send_interface="org.chromium.flimflam.Device"
send_member="GetProperties"/>
<allow send_destination="org.chromium.flimflam"
send_interface="org.chromium.flimflam.Service"
send_member="GetProperties"/>
<allow send_destination="org.chromium.flimflam"
send_interface="org.chromium.flimflam.IPConfig"
send_member="GetProperties"/>
</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>