diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-12 13:20:44 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-12 13:23:57 +0100 |
commit | ec9747937aafaa91aa04e969ad255899415ba4e4 (patch) | |
tree | 133703e814f7ae1b15dfbc6a6723ae1f053a51d3 /polkit/org.mageia.drakconnect.policy.in | |
parent | 0aeb6cd9396b3ab4dc52a7d330ca5484545b9c58 (diff) | |
download | drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.gz drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.bz2 drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.tar.xz drakx-net-ec9747937aafaa91aa04e969ad255899415ba4e4.zip |
polkit: Tidy up polkit support
Diffstat (limited to 'polkit/org.mageia.drakconnect.policy.in')
-rw-r--r-- | polkit/org.mageia.drakconnect.policy.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.drakconnect.policy.in b/polkit/org.mageia.drakconnect.policy.in new file mode 100644 index 0000000..d7432ac --- /dev/null +++ b/polkit/org.mageia.drakconnect.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.drakconnect.pkexec.run"> + <_description>Run Mageia Network Connection Configuration</_description> + <_message>Authentication is required to run Mageia Network Connection 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/drakconnect</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |