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-or-later -->
6
7<policyconfig>
8
9        <vendor>The systemd Project</vendor>
10        <vendor_url>https://systemd.io</vendor_url>
11
12        <action id="org.freedesktop.portable1.inspect-images">
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>
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">
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>
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>
44