diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-11 10:35:24 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-11 10:35:24 +0200 |
commit | 1877f0be8dbf82825f8911bd3da6c706cfa61df8 (patch) | |
tree | 87fbb5f2cd560ebea0d93433a71883f612edaab2 /system-helper/org.freedesktop.Flatpak.policy.in | |
parent | f68b21754a00248d3cca97e1143c86800de7f79a (diff) | |
download | xdg-app-1877f0be8dbf82825f8911bd3da6c706cfa61df8.tar.gz |
system-helper: Add support for updating appstream branch
Diffstat (limited to 'system-helper/org.freedesktop.Flatpak.policy.in')
-rw-r--r-- | system-helper/org.freedesktop.Flatpak.policy.in | 18 |
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> |