summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/share/polkit-1/actions/org.boum.tails.additional-software.policy
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/usr/share/polkit-1/actions/org.boum.tails.additional-software.policy')
-rw-r--r--config/chroot_local-includes/usr/share/polkit-1/actions/org.boum.tails.additional-software.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/chroot_local-includes/usr/share/polkit-1/actions/org.boum.tails.additional-software.policy b/config/chroot_local-includes/usr/share/polkit-1/actions/org.boum.tails.additional-software.policy
new file mode 100644
index 0000000..bd115e4
--- /dev/null
+++ b/config/chroot_local-includes/usr/share/polkit-1/actions/org.boum.tails.additional-software.policy
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
+<policyconfig>
+
+ <vendor>Tails</vendor>
+ <vendor_url>http://tails.boum.org/</vendor_url>
+
+ <action id="org.boum.tails.additional-software.remove">
+ <description>Remove an additional software package</description>
+ <message>Authentication is required to remove a package from your additional software ($(command_line))</message>
+ <icon_name>package-x-generic</icon_name>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_self</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/local/sbin/tails-additional-software-remove</annotate>
+ </action>
+
+</policyconfig>