<!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.LockToSingleUser"/>
<allow receive_sender="org.chromium.LockToSingleUser"
receive_interface="org.chromium.LockToSingleUser"/>
</policy>
<!--
vmc uses this service to ask Chrome to lock the device to a single user
before starting a VM.
-->
<policy user="chronos">
<allow send_destination="org.chromium.LockToSingleUser"
send_interface="org.chromium.LockToSingleUser"/>
</policy>
<!-- testers run as root to execute vmc -->
<policy user="root">
<allow send_destination="org.chromium.LockToSingleUser"
send_interface="org.chromium.LockToSingleUser"/>
</policy>
</busconfig>