aboutsummaryrefslogtreecommitdiffstats
path: root/polkit/org.mageia.isodumper.policy.in
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-03-16 08:49:11 +0100
committerPapoteur <papoteur@mageia.org>2018-03-16 11:21:02 +0100
commit14c0971086469294869631ca0358ff00fd12ec35 (patch)
treeda97993dc81228a6a382a4683346343861e51159 /polkit/org.mageia.isodumper.policy.in
parent5ba525524cb9e40576d0eb79ece4a12a9fd78102 (diff)
downloadisodumper-14c0971086469294869631ca0358ff00fd12ec35.tar
isodumper-14c0971086469294869631ca0358ff00fd12ec35.tar.gz
isodumper-14c0971086469294869631ca0358ff00fd12ec35.tar.bz2
isodumper-14c0971086469294869631ca0358ff00fd12ec35.tar.xz
isodumper-14c0971086469294869631ca0358ff00fd12ec35.zip
Polkit conf file is translatable
Diffstat (limited to 'polkit/org.mageia.isodumper.policy.in')
-rw-r--r--polkit/org.mageia.isodumper.policy.in38
1 files changed, 21 insertions, 17 deletions
diff --git a/polkit/org.mageia.isodumper.policy.in b/polkit/org.mageia.isodumper.policy.in
index 749aa6f..12a6fdc 100644
--- a/polkit/org.mageia.isodumper.policy.in
+++ b/polkit/org.mageia.isodumper.policy.in
@@ -1,22 +1,26 @@
<?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">
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
-
- <vendor>Mageia</vendor>
- <vendor_url>http://mageia.org/</vendor_url>
-
- <action id="org.mageia.isodumper.pkexec.run">
- <_description>Run Isodumper</_description>
- <_message>Authentication is required to run Isodumper</_message>
- <icon_name>isodumper</icon_name>
+ <vendor>Mageia</vendor>
+ <vendor_url>http://www.mageia.org/</vendor_url>
+ <action id="org.mageia.Magiback.Isodumper.write">
+ <description>Isodumper</description>
+ <_message>Isodumper requesting write access</_message>
<defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
</defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/isodumper</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig> \ No newline at end of file
+ </action>
+ <action id="org.mageia.Magiback.write">
+ <description>Manatools</description>
+ <_message>Manatools requesting write access</_message>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ </action>
+</policyconfig>