diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2019-08-16 12:50:45 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2019-08-16 12:58:00 +0200 |
commit | 3120b855ac31158a52c9263f522615b4c3a0aa20 (patch) | |
tree | 624837ece395e563286a54cbb050f4f21ae48cd2 /helpers/se.leap.bitmask.snap.policy | |
parent | 4aa6fd4109aa9e92a1ade72885d7c99effcd7c76 (diff) |
[pkg] add helpers to repo, generate hooks in snap
Diffstat (limited to 'helpers/se.leap.bitmask.snap.policy')
-rw-r--r-- | helpers/se.leap.bitmask.snap.policy | 23 |
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> |