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<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6
7<busconfig>
8
9        <policy user="root">
10                <allow own="org.freedesktop.portable1"/>
11                <allow send_destination="org.freedesktop.portable1"/>
12                <allow receive_sender="org.freedesktop.portable1"/>
13        </policy>
14
15        <policy context="default">
16                <deny send_destination="org.freedesktop.portable1"/>
17
18                <!-- generic interfaces -->
19
20                <allow send_destination="org.freedesktop.portable1"
21                       send_interface="org.freedesktop.DBus.Introspectable"/>
22
23                <allow send_destination="org.freedesktop.portable1"
24                       send_interface="org.freedesktop.DBus.Peer"/>
25
26                <allow send_destination="org.freedesktop.portable1"
27                       send_interface="org.freedesktop.DBus.Properties"
28                       send_member="Get"/>
29
30                <allow send_destination="org.freedesktop.portable1"
31                       send_interface="org.freedesktop.DBus.Properties"
32                       send_member="GetAll"/>
33
34                <!-- Manager object -->
35
36                <allow send_destination="org.freedesktop.portable1"
37                       send_interface="org.freedesktop.portable1.Manager"
38                       send_member="GetImage"/>
39
40                <allow send_destination="org.freedesktop.portable1"
41                       send_interface="org.freedesktop.portable1.Manager"
42                       send_member="ListImages"/>
43
44                <allow send_destination="org.freedesktop.portable1"
45                       send_interface="org.freedesktop.portable1.Manager"
46                       send_member="GetImageOSRelease"/>
47
48                <allow send_destination="org.freedesktop.portable1"
49                       send_interface="org.freedesktop.portable1.Manager"
50                       send_member="GetImageMetadata"/>
51
52                <allow send_destination="org.freedesktop.portable1"
53                       send_interface="org.freedesktop.portable1.Manager"
54                       send_member="GetImageState"/>
55
56                <allow send_destination="org.freedesktop.portable1"
57                       send_interface="org.freedesktop.portable1.Manager"
58                       send_member="AttachImage"/>
59
60                <allow send_destination="org.freedesktop.portable1"
61                       send_interface="org.freedesktop.portable1.Manager"
62                       send_member="DetachImage"/>
63
64                <allow send_destination="org.freedesktop.portable1"
65                       send_interface="org.freedesktop.portable1.Manager"
66                       send_member="ReattachImage"/>
67
68                <allow send_destination="org.freedesktop.portable1"
69                       send_interface="org.freedesktop.portable1.Manager"
70                       send_member="RemoveImage"/>
71
72                <allow send_destination="org.freedesktop.portable1"
73                       send_interface="org.freedesktop.portable1.Manager"
74                       send_member="MarkImageReadOnly"/>
75
76                <allow send_destination="org.freedesktop.portable1"
77                       send_interface="org.freedesktop.portable1.Manager"
78                       send_member="SetImageLimit"/>
79
80                <allow send_destination="org.freedesktop.portable1"
81                       send_interface="org.freedesktop.portable1.Manager"
82                       send_member="SetPoolLimit"/>
83
84                <!-- Image object -->
85
86                <allow send_destination="org.freedesktop.portable1"
87                       send_interface="org.freedesktop.portable1.Image"
88                       send_member="GetOSRelease"/>
89
90                <allow send_destination="org.freedesktop.portable1"
91                       send_interface="org.freedesktop.portable1.Image"
92                       send_member="GetMetadata"/>
93
94                <allow send_destination="org.freedesktop.portable1"
95                       send_interface="org.freedesktop.portable1.Image"
96                       send_member="GetState"/>
97
98                <allow send_destination="org.freedesktop.portable1"
99                       send_interface="org.freedesktop.portable1.Image"
100                       send_member="Attach"/>
101
102                <allow send_destination="org.freedesktop.portable1"
103                       send_interface="org.freedesktop.portable1.Image"
104                       send_member="Detach"/>
105
106                <allow send_destination="org.freedesktop.portable1"
107                       send_interface="org.freedesktop.portable1.Image"
108                       send_member="Reattach"/>
109
110                <allow send_destination="org.freedesktop.portable1"
111                       send_interface="org.freedesktop.portable1.Image"
112                       send_member="Remove"/>
113
114                <allow send_destination="org.freedesktop.portable1"
115                       send_interface="org.freedesktop.portable1.Image"
116                       send_member="MarkReadOnly"/>
117
118                <allow send_destination="org.freedesktop.portable1"
119                       send_interface="org.freedesktop.portable1.Image"
120                       send_member="SetLimit"/>
121
122                <allow receive_sender="org.freedesktop.portable1"/>
123        </policy>
124
125</busconfig>
126