aboutsummaryrefslogtreecommitdiffstats
path: root/polkit/org.mageia.drakrpm.policy.in
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-12 14:18:04 +0100
committerColin Guthrie <colin@mageia.org>2013-10-12 14:28:57 +0100
commitb41295b9c893a210913e8e85c71a9ba7e056973b (patch)
tree65348659fea222f6012d359b89dfab28cd9a24a6 /polkit/org.mageia.drakrpm.policy.in
parent1dd7dba00303fa14bbfcbdd0a8fe05071134754d (diff)
downloadrpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.gz
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.bz2
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.tar.xz
rpmdrake-b41295b9c893a210913e8e85c71a9ba7e056973b.zip
polkit: Tidy up polkit support
Diffstat (limited to 'polkit/org.mageia.drakrpm.policy.in')
-rw-r--r--polkit/org.mageia.drakrpm.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.drakrpm.policy.in b/polkit/org.mageia.drakrpm.policy.in
new file mode 100644
index 00000000..6af5277c
--- /dev/null
+++ b/polkit/org.mageia.drakrpm.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.drakrpm.pkexec.run">
+ <_description>Run Mageia Package Manager</_description>
+ <_message>Authentication is required to run Mageia Package Manager</_message>
+ <icon_name>rpmdrake</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/drakrpm</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>