summaryrefslogtreecommitdiff
path: root/helpers/se.leap.bitmask.snap.policy
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/se.leap.bitmask.snap.policy')
-rw-r--r--helpers/se.leap.bitmask.snap.policy23
1 files changed, 23 insertions, 0 deletions
diff --git a/helpers/se.leap.bitmask.snap.policy b/helpers/se.leap.bitmask.snap.policy
new file mode 100644
index 0000000..cac56b4
--- /dev/null
+++ b/helpers/se.leap.bitmask.snap.policy
@@ -0,0 +1,23 @@
+<?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>LEAP Encryption Access Project Project</vendor>
+ <vendor_url>http://leap.se/</vendor_url>
+
+ <action id="se.leap.bitmask.${applicationName}.policy">
+ <description>Runs bitmask helper to launch firewall and openvpn (${applicationName})</description>
+ <description xml:lang="es">Ejecuta el asistente de bitmask para lanzar el firewall y openvpn (${applicationName})</description>
+ <message>${applicationName} needs that you authenticate to start</message>
+ <message xml:lang="es">${applicationName} necesita autorizacion para comenzar</message>
+ <icon_name>package-x-generic</icon_name>
+ <defaults>
+ <allow_any>yes</allow_any>
+ <allow_inactive>yes</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/snap/bin/${binaryName}.bitmask-root</annotate>
+ </action>
+</policyconfig>