summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit/org.mageia.drakscanner.policy.in
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-11 10:29:22 +0100
committerColin Guthrie <colin@mageia.org>2013-10-11 11:15:03 +0100
commita8dd9a1992f9af8d5ccd7f55db5f68c02f99ba4f (patch)
tree477a40982503690bd4b336eb54a9ca048fbb4324 /perl-install/standalone/polkit/org.mageia.drakscanner.policy.in
parent84942148c97222db0328dfed0fe3c7b047bb38b0 (diff)
downloaddrakx-a8dd9a1992f9af8d5ccd7f55db5f68c02f99ba4f.tar
drakx-a8dd9a1992f9af8d5ccd7f55db5f68c02f99ba4f.tar.gz
drakx-a8dd9a1992f9af8d5ccd7f55db5f68c02f99ba4f.tar.bz2
drakx-a8dd9a1992f9af8d5ccd7f55db5f68c02f99ba4f.tar.xz
drakx-a8dd9a1992f9af8d5ccd7f55db5f68c02f99ba4f.zip
polkit: Handle some more binaries missed in the polkit conversion.
Diffstat (limited to 'perl-install/standalone/polkit/org.mageia.drakscanner.policy.in')
-rw-r--r--perl-install/standalone/polkit/org.mageia.drakscanner.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/perl-install/standalone/polkit/org.mageia.drakscanner.policy.in b/perl-install/standalone/polkit/org.mageia.drakscanner.policy.in
new file mode 100644
index 000000000..50c1da552
--- /dev/null
+++ b/perl-install/standalone/polkit/org.mageia.drakscanner.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.drakscanner.pkexec.run">
+ <_description>Run Mageia Scanner Configuration</_description>
+ <_message>Authentication is required to run Mageia Scanner 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/drakscanner</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>