summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-09-29 17:52:35 +0100
committerColin Guthrie <colin@mageia.org>2013-09-29 18:04:28 +0100
commitaadf8003fcc1cb4139e52a1d6df69e77d117375f (patch)
treeaf79d1e699ff4327629c397d63dd8d8540125e2b /perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in
parentcf9d69a113fd0c59dd8fffb387d1a756452bb105 (diff)
downloaddrakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.tar
drakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.tar.gz
drakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.tar.bz2
drakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.tar.xz
drakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.zip
polkit: Allow polkit policy messages to be translated
Diffstat (limited to 'perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in')
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in b/perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in
new file mode 100644
index 000000000..31735098d
--- /dev/null
+++ b/perl-install/standalone/polkit/policy/org.mageia.drakups.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.drakups.pkexec.run">
+ <_description>Run Mageia UPS Configuration</_description>
+ <_message>Authentication is required to run Mageia UPS 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/drakups</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>