summaryrefslogtreecommitdiffstats
path: root/polkit/org.mageia.control-centre-gui.policy
diff options
context:
space:
mode:
Diffstat (limited to 'polkit/org.mageia.control-centre-gui.policy')
-rw-r--r--polkit/org.mageia.control-centre-gui.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.control-centre-gui.policy b/polkit/org.mageia.control-centre-gui.policy
new file mode 100644
index 00000000..2e25fe17
--- /dev/null
+++ b/polkit/org.mageia.control-centre-gui.policy
@@ -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 Control Centre GUI</vendor>
+ <vendor_url>http://mageia.org/control-centre-gui</vendor_url>
+
+ <action id="org.mageia.control-centre-gui.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>