summaryrefslogtreecommitdiff
path: root/system-helper/org.freedesktop.Flatpak.policy.in
diff options
context:
space:
mode:
Diffstat (limited to 'system-helper/org.freedesktop.Flatpak.policy.in')
-rw-r--r--system-helper/org.freedesktop.Flatpak.policy.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/system-helper/org.freedesktop.Flatpak.policy.in b/system-helper/org.freedesktop.Flatpak.policy.in
index a420339..a0a1bcc 100644
--- a/system-helper/org.freedesktop.Flatpak.policy.in
+++ b/system-helper/org.freedesktop.Flatpak.policy.in
@@ -83,4 +83,22 @@
</defaults>
</action>
+ <action id="org.freedesktop.Flatpak.appstream-update">
+ <!-- SECURITY:
+ - Normal users do not require admin authentication to update
+ appstream data as it will be signed, and the action is required
+ to update the system when unattended.
+ - Changing this to anything other than 'yes' will break unattended
+ updates.
+ -->
+ <_description>Update appstream</_description>
+ <_message>Authentication is required to update software</_message>
+ <icon_name>package-x-generic</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
</policyconfig>