summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-01-02 14:42:37 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-01-02 14:58:12 +0100
commit360cf28714c9ffdf624ddee0055cc7fd39a0247f (patch)
tree34adc03126ff32b55d9b548b02a7410ad8fc68a3 /perl-install/standalone/polkit
parent41fc00cea5d49e46870db72a5612cbe9f67f8e26 (diff)
downloaddrakx-360cf28714c9ffdf624ddee0055cc7fd39a0247f.tar
drakx-360cf28714c9ffdf624ddee0055cc7fd39a0247f.tar.gz
drakx-360cf28714c9ffdf624ddee0055cc7fd39a0247f.tar.bz2
drakx-360cf28714c9ffdf624ddee0055cc7fd39a0247f.tar.xz
drakx-360cf28714c9ffdf624ddee0055cc7fd39a0247f.zip
add policy for drakautologin
Diffstat (limited to 'perl-install/standalone/polkit')
-rw-r--r--perl-install/standalone/polkit/org.mageia.drakautologin.policy.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/perl-install/standalone/polkit/org.mageia.drakautologin.policy.in b/perl-install/standalone/polkit/org.mageia.drakautologin.policy.in
new file mode 100644
index 000000000..161e456ef
--- /dev/null
+++ b/perl-install/standalone/polkit/org.mageia.drakautologin.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.drakautologin.pkexec.run">
+ <_description>Run Mageia AutoLogin Configuration</_description>
+ <_message>Authentication is required to run Mageia AutoLogin 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/drakautologin</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>