<!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 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.VmPermissionService"/>
  </policy>

  <policy user="crosvm">
    <allow send_destination="org.chromium.VmPermissionService"
           send_interface="org.chromium.VmPermissionServiceInterface"
           send_member="RegisterVm"/>
    <allow send_destination="org.chromium.VmPermissionService"
           send_interface="org.chromium.VmPermissionServiceInterface"
           send_member="UnregisterVm"/>
    <allow send_destination="org.chromium.VmPermissionService"
           send_interface="org.chromium.VmPermissionServiceInterface"
           send_member="GetPermissions"/>
  </policy>
</busconfig>
