]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/portable/org.freedesktop.portable1.policy
Merge pull request #13365 from keszybz/fix-commits-from-pr-13246
[thirdparty/systemd.git] / src / portable / org.freedesktop.portable1.policy
CommitLineData
61d0578b
LP
1<?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
2<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
3 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
4
5<!-- SPDX-License-Identifier: LGPL-2.1+ -->
6
7<policyconfig>
8
9 <vendor>The systemd Project</vendor>
10 <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
11
12 <action id="org.freedesktop.portable1.inspect-images">
9c7f1abb
YW
13 <description gettext-domain="systemd">Inspect a portable service image</description>
14 <message gettext-domain="systemd">Authentication is required to inspect a portable service image.</message>
61d0578b
LP
15 <defaults>
16 <allow_any>auth_admin</allow_any>
17 <allow_inactive>auth_admin</allow_inactive>
18 <allow_active>auth_admin_keep</allow_active>
19 </defaults>
20 </action>
21
22 <action id="org.freedesktop.portable1.attach-images">
9c7f1abb
YW
23 <description gettext-domain="systemd">Attach or detach a portable service image</description>
24 <message gettext-domain="systemd">Authentication is required to attach or detach a portable service image.</message>
61d0578b
LP
25 <defaults>
26 <allow_any>auth_admin</allow_any>
27 <allow_inactive>auth_admin</allow_inactive>
28 <allow_active>auth_admin_keep</allow_active>
29 </defaults>
30 <annotate key="org.freedesktop.policykit.imply">org.freedesktop.systemd1.reload-daemon</annotate>
31 </action>
32
33 <action id="org.freedesktop.portable1.manage-images">
34 <description gettext-domain="systemd">Delete or modify portable service image</description>
35 <message gettext-domain="systemd">Authentication is required to delete or modify a portable service image.</message>
36 <defaults>
37 <allow_any>auth_admin</allow_any>
38 <allow_inactive>auth_admin</allow_inactive>
39 <allow_active>auth_admin_keep</allow_active>
40 </defaults>
41 </action>
42
43</policyconfig>