aboutsummaryrefslogtreecommitdiffstats
path: root/extras/polkit
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-12-12 14:06:08 +0100
committerAngelo Naselli <anaselli@linux.it>2014-12-12 14:06:08 +0100
commitaaef9bf5e0be947b6412344542b8210eb8561374 (patch)
tree22d1fd777eee7250b89746a694eb14e3df3db966 /extras/polkit
parent83596e9bbd26803ee35991390ed3788812e871b4 (diff)
downloadmanatools-aaef9bf5e0be947b6412344542b8210eb8561374.tar
manatools-aaef9bf5e0be947b6412344542b8210eb8561374.tar.gz
manatools-aaef9bf5e0be947b6412344542b8210eb8561374.tar.bz2
manatools-aaef9bf5e0be947b6412344542b8210eb8561374.tar.xz
manatools-aaef9bf5e0be947b6412344542b8210eb8561374.zip
preparing for a release
Diffstat (limited to 'extras/polkit')
-rw-r--r--extras/polkit/org.mageia.dragoraupdate.policy22
-rw-r--r--extras/polkit/org.mageia.rpmdragora.policy22
2 files changed, 44 insertions, 0 deletions
diff --git a/extras/polkit/org.mageia.dragoraupdate.policy b/extras/polkit/org.mageia.dragoraupdate.policy
new file mode 100644
index 00000000..cd93e3f4
--- /dev/null
+++ b/extras/polkit/org.mageia.dragoraupdate.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.dragoraupdate.pkexec.run">
+ <_description>Run Mageia update software tool</_description>
+ <_message>Authentication is required to run rpmdragora Mageia updater</_message>
+ <icon_name>mageiaupdate</icon_name>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_self_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/dragoraUpdate</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>
diff --git a/extras/polkit/org.mageia.rpmdragora.policy b/extras/polkit/org.mageia.rpmdragora.policy
new file mode 100644
index 00000000..509d555a
--- /dev/null
+++ b/extras/polkit/org.mageia.rpmdragora.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.rpmdragora.pkexec.run">
+ <_description>Run Mageia install and remove software</_description>
+ <_message>Authentication is required to run Mageia rpm 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/bin/rpmdragora</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+</policyconfig>