diff options
author | papoteur-mga <yves.brungard_git@gadz.org> | 2013-12-22 19:09:12 +0100 |
---|---|---|
committer | papoteur-mga <yves.brungard_git@gadz.org> | 2013-12-22 19:09:12 +0100 |
commit | 6e5765205a96d00786be9e3506d411edbec9e22e (patch) | |
tree | 6bd78840c8f24fca6ed9d5592848b4e111640960 /share | |
parent | 264a1ee551c49d11bcf61ed7067d3b6c78d6bc1f (diff) | |
download | isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.tar isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.tar.gz isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.tar.bz2 isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.tar.xz isodumper-6e5765205a96d00786be9e3506d411edbec9e22e.zip |
Modifications to have authentication with polkit
- new bin/isodumper
- new polkit policy file
Diffstat (limited to 'share')
-rw-r--r-- | share/polkit-1/actions/org.mageia.isodumper.policy | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/share/polkit-1/actions/org.mageia.isodumper.policy b/share/polkit-1/actions/org.mageia.isodumper.policy new file mode 100644 index 0000000..03655f5 --- /dev/null +++ b/share/polkit-1/actions/org.mageia.isodumper.policy @@ -0,0 +1,30 @@ +<?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://mageia.org/</vendor_url> + + <action id="org.mageia.isodumper.pkexec.run"> + <description>Run Isodumper</description> + <description xml:lang="fr">Exécuter Isodumper</description> + <description xml:lang="ca">Isodumper</description> + <description xml:lang="ru">Isodumper</description> + <description xml:lang="sl">Isodumper</description> + <description xml:lang="tr">Isodumper</description> + <description xml:lang="uk">Isodumper</description> + <message>Authentication is required to run Isodumper</message> + <message xml:lang="fr">Une authentification est nécessaire pour exécuter IsoDumper</message> + <message xml:lang="ca">Per a accedir al Isodumper cal autenticació</message> + <icon_name>isodumper</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/isodumper</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig>
\ No newline at end of file |