diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-01 21:58:32 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-01 21:59:49 +0100 |
commit | b0c11102c1ab0f6297b27738fb1988815340dda6 (patch) | |
tree | f52e20bb28afa02eb6a500108841ddeea0200c13 /polkit/policy/org.mageia.rpmdrake-editmedia.policy.in | |
parent | 8e29638bda1956d81baba16370c43822764a011a (diff) | |
download | rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.tar rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.tar.gz rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.tar.bz2 rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.tar.xz rpmdrake-b0c11102c1ab0f6297b27738fb1988815340dda6.zip |
polkit: Make the polkit policy files translatable.
Diffstat (limited to 'polkit/policy/org.mageia.rpmdrake-editmedia.policy.in')
-rw-r--r-- | polkit/policy/org.mageia.rpmdrake-editmedia.policy.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/policy/org.mageia.rpmdrake-editmedia.policy.in b/polkit/policy/org.mageia.rpmdrake-editmedia.policy.in new file mode 100644 index 00000000..d250ca73 --- /dev/null +++ b/polkit/policy/org.mageia.rpmdrake-editmedia.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.rpmdrake-editmedia.pkexec.run"> + <_description>Run Mageia Package Media Editor</_description> + <_message>Authentication is required to run Mageia Package Media Editor</_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/libexec/drakrpm-edit-media</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |