summaryrefslogtreecommitdiffstats
path: root/polkit/org.mageia.drakinvictus.policy.in
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 13:20:44 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 13:23:57 +0100
commitec9747937aafaa91aa04e969ad255899415ba4e4 (patch)
tree133703e814f7ae1b15dfbc6a6723ae1f053a51d3 /polkit/org.mageia.drakinvictus.policy.in
parent0aeb6cd9396b3ab4dc52a7d330ca5484545b9c58 (diff)
downloaddrakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar
drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.gz
drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.bz2
drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.xz
drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.zip
polkit: Tidy up polkit support
Diffstat (limited to 'polkit/org.mageia.drakinvictus.policy.in')
-rw-r--r--polkit/org.mageia.drakinvictus.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.drakinvictus.policy.in b/polkit/org.mageia.drakinvictus.policy.in
new file mode 100644
index 0000000..25f6264
--- /dev/null
+++ b/polkit/org.mageia.drakinvictus.policy.in
@@ -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>Mageia</vendor>
+ <vendor_url>http://www.mageia.org/</vendor_url>
+
+ <action id="org.mageia.drakinvictus.pkexec.run">
+ <_description>Run Mageia Firewall Configuration</_description>
+ <_message>Authentication is required to run Mageia Firewall Configuration</_message>
+ <icon_name>drakconf</icon_name>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/drakinvictus</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>