summaryrefslogtreecommitdiffstats
path: root/polkit/org.mageia.drakconf.policy.in
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 13:50:02 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 13:53:45 +0100
commit811ac7a07941f11e4e8acfcba9b75d50d009f798 (patch)
tree08cab7d5b63f664e8eed372708919cffe17a76d2 /polkit/org.mageia.drakconf.policy.in
parent348852a7c7a039f8c53dd017ea7f4d4f03bbca92 (diff)
downloadcontrol-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.tar
control-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.tar.gz
control-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.tar.bz2
control-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.tar.xz
control-center-811ac7a07941f11e4e8acfcba9b75d50d009f798.zip
polkit: Tidy up polkit support
Diffstat (limited to 'polkit/org.mageia.drakconf.policy.in')
-rw-r--r--polkit/org.mageia.drakconf.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.drakconf.policy.in b/polkit/org.mageia.drakconf.policy.in
new file mode 100644
index 00000000..1fc2a36a
--- /dev/null
+++ b/polkit/org.mageia.drakconf.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://mageia.org/control-centre-gui</vendor_url>
+
+ <action id="org.mageia.drakconf.pkexec.run">
+ <_description>Run Mageia Control Centre GUI</_description>
+ <_message>Authentication is required to run Mageia Control Centre GUI</_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/drakconf</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>