blob: fa07bee4f2fe8239d7484fec9d5cf92dec18b44d [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 2013 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.
-->
<busconfig>
<policy user="saned">
<allow own="org.chromium.lorgnette"/>
<allow send_destination="org.chromium.lorgnette"/>
</policy>
<policy user="root">
<allow send_destination="org.chromium.lorgnette"/>
</policy>
<policy user="chronos">
<allow send_destination="org.chromium.lorgnette"
send_interface="org.chromium.lorgnette.Manager"
send_member="ListScanners"/>
<allow send_destination="org.chromium.lorgnette"
send_interface="org.chromium.lorgnette.Manager"
send_member="GetScannerCapabilities"/>
<allow send_destination="org.chromium.lorgnette"
send_interface="org.chromium.lorgnette.Manager"
send_member="StartScan"/>
<allow send_destination="org.chromium.lorgnette"
send_interface="org.chromium.lorgnette.Manager"
send_member="CancelScan"/>
<allow send_destination="org.chromium.lorgnette"
send_interface="org.chromium.lorgnette.Manager"
send_member="GetNextImage"/>
</policy>
<policy user="debugd">
<allow send_destination="org.chromium.lorgnette"
send_interface="org.chromium.lorgnette.Manager"
send_member="ListScanners"/>
</policy>
<policy context="default">
<deny send_destination="org.chromium.lorgnette"/>
</policy>
</busconfig>