summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-09-29 17:41:14 +0100
committerColin Guthrie <colin@mageia.org>2013-09-29 17:41:14 +0100
commitcf9d69a113fd0c59dd8fffb387d1a756452bb105 (patch)
tree1d13e08e9a1aea7c6bec8164363d6ba9f6b1b474 /perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy
parent07ae52b078d99b98e976b139e81fc885c840a8d1 (diff)
downloaddrakx-cf9d69a113fd0c59dd8fffb387d1a756452bb105.tar
drakx-cf9d69a113fd0c59dd8fffb387d1a756452bb105.tar.gz
drakx-cf9d69a113fd0c59dd8fffb387d1a756452bb105.tar.bz2
drakx-cf9d69a113fd0c59dd8fffb387d1a756452bb105.tar.xz
drakx-cf9d69a113fd0c59dd8fffb387d1a756452bb105.zip
polkit: Move policy files into standalone directory.
This will be needed to be able to translate the policy files.
Diffstat (limited to 'perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy')
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy b/perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy
new file mode 100644
index 000000000..daa9a7267
--- /dev/null
+++ b/perl-install/standalone/polkit/policy/org.mageia.drakxservices.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</vendor>
+ <vendor_url>http://www.mageia.org/</vendor_url>
+
+ <action id="org.mageia.drakxservices.pkexec.run">
+ <description>Run Mageia Service Configuration</description>
+ <message>Authentication is required to run Mageia Service 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/drakxservices</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>