summaryrefslogtreecommitdiffstats
path: root/polkit/org.mageia.gurpmi2.policy.in
diff options
context:
space:
mode:
Diffstat (limited to 'polkit/org.mageia.gurpmi2.policy.in')
-rw-r--r--polkit/org.mageia.gurpmi2.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.gurpmi2.policy.in b/polkit/org.mageia.gurpmi2.policy.in
new file mode 100644
index 00000000..4768e142
--- /dev/null
+++ b/polkit/org.mageia.gurpmi2.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.gurpmi2.pkexec.run">
+ <_description>Run Mageia Package Installer</_description>
+ <_message>Authentication is required to run Mageia Package Installer</_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/gurpmi2</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>