summaryrefslogtreecommitdiff
path: root/pkg/linux/polkit/se.leap.bitmask.policy
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-05-05 09:56:48 -0500
committerKali Kaneko <kali@leap.se>2014-05-12 10:47:24 -0500
commitdd8b845614cb95c698734081f5ed5f482d3ea6df (patch)
treea795f9f91ad4e81c2414465ff0e760257429babe /pkg/linux/polkit/se.leap.bitmask.policy
parenta733e83ae0bcbcc9daa0cba0aa4704f499406394 (diff)
add polkit file for bitmask-root,
and remove openvpn polkit file.
Diffstat (limited to 'pkg/linux/polkit/se.leap.bitmask.policy')
-rw-r--r--pkg/linux/polkit/se.leap.bitmask.policy23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkg/linux/polkit/se.leap.bitmask.policy b/pkg/linux/polkit/se.leap.bitmask.policy
new file mode 100644
index 00000000..c66f4701
--- /dev/null
+++ b/pkg/linux/polkit/se.leap.bitmask.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 Project</vendor>
+ <vendor_url>http://leap.se/</vendor_url>
+
+ <action id="se.leap.bitmask.policy">
+ <description>Runs bitmask helper to launch firewall and openvpn</description>
+ <description xml:lang="es">Ejecuta el asistente de bitmask para lanzar el firewall y openvpn</description>
+ <message>Bitmask needs that you authenticate to start</message>
+ <message xml:lang="es">Bitmask 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">/usr/sbin/bitmask-root</annotate>
+ </action>
+</policyconfig>