]>
Commit | Line | Data |
---|---|---|
b012e921 MB |
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+ --> | |
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" | |
bb4f798a | 50 | send_member="GetImageMetadata"/> |
b012e921 MB |
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="RemoveImage"/> | |
67 | ||
68 | <allow send_destination="org.freedesktop.portable1" | |
69 | send_interface="org.freedesktop.portable1.Manager" | |
70 | send_member="MarkImageReadOnly"/> | |
71 | ||
72 | <allow send_destination="org.freedesktop.portable1" | |
73 | send_interface="org.freedesktop.portable1.Manager" | |
74 | send_member="SetImageLimit"/> | |
75 | ||
76 | <allow send_destination="org.freedesktop.portable1" | |
77 | send_interface="org.freedesktop.portable1.Manager" | |
78 | send_member="SetPoolLimit"/> | |
79 | ||
80 | <!-- Image object --> | |
81 | ||
82 | <allow send_destination="org.freedesktop.portable1" | |
83 | send_interface="org.freedesktop.portable1.Image" | |
84 | send_member="GetOSRelease"/> | |
85 | ||
86 | <allow send_destination="org.freedesktop.portable1" | |
87 | send_interface="org.freedesktop.portable1.Image" | |
bb4f798a | 88 | send_member="GetMetadata"/> |
b012e921 MB |
89 | |
90 | <allow send_destination="org.freedesktop.portable1" | |
91 | send_interface="org.freedesktop.portable1.Image" | |
bb4f798a | 92 | send_member="GetState"/> |
b012e921 MB |
93 | |
94 | <allow send_destination="org.freedesktop.portable1" | |
95 | send_interface="org.freedesktop.portable1.Image" | |
96 | send_member="Attach"/> | |
97 | ||
98 | <allow send_destination="org.freedesktop.portable1" | |
99 | send_interface="org.freedesktop.portable1.Image" | |
100 | send_member="Detach"/> | |
101 | ||
102 | <allow send_destination="org.freedesktop.portable1" | |
103 | send_interface="org.freedesktop.portable1.Image" | |
104 | send_member="Remove"/> | |
105 | ||
106 | <allow send_destination="org.freedesktop.portable1" | |
107 | send_interface="org.freedesktop.portable1.Image" | |
108 | send_member="MarkReadOnly"/> | |
109 | ||
110 | <allow send_destination="org.freedesktop.portable1" | |
111 | send_interface="org.freedesktop.portable1.Image" | |
112 | send_member="SetLimit"/> | |
113 | ||
114 | <allow receive_sender="org.freedesktop.portable1"/> | |
115 | </policy> | |
116 | ||
117 | </busconfig> |