1<?xml version="1.0"?> <!--*-nxml-*-->
2<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3        "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
4
5<!--
6  SPDX-License-Identifier: LGPL-2.1-or-later
7
8  This file is part of systemd.
9
10  systemd is free software; you can redistribute it and/or modify it
11  under the terms of the GNU Lesser General Public License as published by
12  the Free Software Foundation; either version 2.1 of the License, or
13  (at your option) any later version.
14-->
15
16<busconfig>
17
18        <policy user="root">
19                <allow own="org.freedesktop.import1"/>
20                <allow send_destination="org.freedesktop.import1"/>
21                <allow receive_sender="org.freedesktop.import1"/>
22        </policy>
23
24        <policy context="default">
25                <deny send_destination="org.freedesktop.import1"/>
26
27                <allow send_destination="org.freedesktop.import1"
28                       send_interface="org.freedesktop.DBus.Introspectable"/>
29
30                <allow send_destination="org.freedesktop.import1"
31                       send_interface="org.freedesktop.DBus.Peer"/>
32
33                <allow send_destination="org.freedesktop.import1"
34                       send_interface="org.freedesktop.DBus.Properties"
35                       send_member="Get"/>
36
37                <allow send_destination="org.freedesktop.import1"
38                       send_interface="org.freedesktop.DBus.Properties"
39                       send_member="GetAll"/>
40
41                <allow send_destination="org.freedesktop.import1"
42                       send_interface="org.freedesktop.import1.Manager"
43                       send_member="ListTransfers"/>
44
45                <allow send_destination="org.freedesktop.import1"
46                       send_interface="org.freedesktop.import1.Manager"
47                       send_member="CancelTransfer"/>
48
49                <allow send_destination="org.freedesktop.import1"
50                       send_interface="org.freedesktop.import1.Manager"
51                       send_member="ImportTar"/>
52
53                <allow send_destination="org.freedesktop.import1"
54                       send_interface="org.freedesktop.import1.Manager"
55                       send_member="ImportRaw"/>
56
57                <allow send_destination="org.freedesktop.import1"
58                       send_interface="org.freedesktop.import1.Manager"
59                       send_member="ImportFileSystem"/>
60
61                <allow send_destination="org.freedesktop.import1"
62                       send_interface="org.freedesktop.import1.Manager"
63                       send_member="ExportTar"/>
64
65                <allow send_destination="org.freedesktop.import1"
66                       send_interface="org.freedesktop.import1.Manager"
67                       send_member="ExportRaw"/>
68
69                <allow send_destination="org.freedesktop.import1"
70                       send_interface="org.freedesktop.import1.Manager"
71                       send_member="PullTar"/>
72
73                <allow send_destination="org.freedesktop.import1"
74                       send_interface="org.freedesktop.import1.Manager"
75                       send_member="PullRaw"/>
76
77                <allow send_destination="org.freedesktop.import1"
78                       send_interface="org.freedesktop.import1.Transfer"
79                       send_member="Cancel"/>
80
81                <allow receive_sender="org.freedesktop.import1"/>
82        </policy>
83
84</busconfig>
85