<!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
  Use of this source code is governed by a BSD-style license that can be
  found in the LICENSE file.
-->
<busconfig>
  <policy user="chronos">
    <allow own="org.chromium.MlDecisionService"/>
  </policy>

  <!--
    powerd uses this service to ask Chrome whether to defer the imminent screen
    dimming.
  -->
  <policy user="power">
    <allow send_destination="org.chromium.MlDecisionService"
           send_interface="org.chromium.MlDecisionService"/>
  </policy>

  <!--
    upstart and tast run as root.
  -->
  <policy user="root">
    <allow send_destination="org.chromium.MlDecisionService"
           send_interface="org.chromium.MlDecisionService"/>
  </policy>
</busconfig>
