]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/import/org.freedesktop.import1.policy
importd: add support for downloading sysext/confext/portable images too
[thirdparty/systemd.git] / src / import / org.freedesktop.import1.policy
1 <?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
2 <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
3 "https://www.freedesktop.org/standards/PolicyKit/1/policyconfig.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 <policyconfig>
17
18 <vendor>The systemd Project</vendor>
19 <vendor_url>https://systemd.io</vendor_url>
20
21 <action id="org.freedesktop.import1.import">
22 <description gettext-domain="systemd">Import a disk image</description>
23 <message gettext-domain="systemd">Authentication is required to import an image</message>
24 <defaults>
25 <allow_any>auth_admin</allow_any>
26 <allow_inactive>auth_admin</allow_inactive>
27 <allow_active>auth_admin_keep</allow_active>
28 </defaults>
29 </action>
30
31 <action id="org.freedesktop.import1.export">
32 <description gettext-domain="systemd">Export a disk image</description>
33 <message gettext-domain="systemd">Authentication is required to export disk image</message>
34 <defaults>
35 <allow_any>auth_admin</allow_any>
36 <allow_inactive>auth_admin</allow_inactive>
37 <allow_active>auth_admin_keep</allow_active>
38 </defaults>
39 </action>
40
41 <action id="org.freedesktop.import1.pull">
42 <description gettext-domain="systemd">Download a disk image</description>
43 <message gettext-domain="systemd">Authentication is required to download a disk image</message>
44 <defaults>
45 <allow_any>auth_admin</allow_any>
46 <allow_inactive>auth_admin</allow_inactive>
47 <allow_active>auth_admin_keep</allow_active>
48 </defaults>
49 </action>
50
51 <action id="org.freedesktop.import1.cancel">
52 <description gettext-domain="systemd">Cancel transfer of a disk image</description>
53 <message gettext-domain="systemd">Authentication is required to cancel the ongoing transfer of a disk image</message>
54 <defaults>
55 <allow_any>auth_admin</allow_any>
56 <allow_inactive>auth_admin</allow_inactive>
57 <allow_active>auth_admin_keep</allow_active>
58 </defaults>
59 </action>
60
61 </policyconfig>