summaryrefslogtreecommitdiff
path: root/system-helper/org.freedesktop.Flatpak.policy.in
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-12 21:23:36 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-12 21:23:36 +0200
commit5407b8efc657b654da7c66d5c69c35448eb43061 (patch)
tree0aee5808fe0a91422416c19a3b448e48a045a30b /system-helper/org.freedesktop.Flatpak.policy.in
parent3964504438e5f6e0354ea6145f0e0022244ae3fc (diff)
downloadxdg-app-5407b8efc657b654da7c66d5c69c35448eb43061.tar.gz
system-helper: Support uninstall
Diffstat (limited to 'system-helper/org.freedesktop.Flatpak.policy.in')
-rw-r--r--system-helper/org.freedesktop.Flatpak.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/system-helper/org.freedesktop.Flatpak.policy.in b/system-helper/org.freedesktop.Flatpak.policy.in
index a0a1bcc..15f8220 100644
--- a/system-helper/org.freedesktop.Flatpak.policy.in
+++ b/system-helper/org.freedesktop.Flatpak.policy.in
@@ -83,6 +83,28 @@
</defaults>
</action>
+ <action id="org.freedesktop.Flatpak.runtime-uninstall">
+ <_description>Uninstall runtime</_description>
+ <_message>Authentication is required to uninstall software</_message>
+ <icon_name>package-x-generic</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.freedesktop.Flatpak.app-uninstall">
+ <_description>Uninstall app</_description>
+ <_message>Authentication is required to uninstall software</_message>
+ <icon_name>package-x-generic</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ </action>
+
<action id="org.freedesktop.Flatpak.appstream-update">
<!-- SECURITY:
- Normal users do not require admin authentication to update