diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-12 13:31:36 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-12 13:31:36 +0100 |
commit | bdfcb6c5408cd41ccd10a838df70917b131a6aa4 (patch) | |
tree | d84ea86c300c48e049010b18f42cba3aa52b4d2a /polkit/org.mageia.drakx11.policy.in | |
parent | f9ced290a6e6485513be1e489c855615d5802614 (diff) | |
download | drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.tar drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.tar.gz drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.tar.bz2 drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.tar.xz drakx-kbd-mouse-x11-bdfcb6c5408cd41ccd10a838df70917b131a6aa4.zip |
polkit: Tidy up polkit support
Diffstat (limited to 'polkit/org.mageia.drakx11.policy.in')
-rw-r--r-- | polkit/org.mageia.drakx11.policy.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.drakx11.policy.in b/polkit/org.mageia.drakx11.policy.in new file mode 100644 index 0000000..5d1fad2 --- /dev/null +++ b/polkit/org.mageia.drakx11.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.drakx11.pkexec.run"> + <_description>Run Mageia Graphics Configuration</_description> + <_message>Authentication is required to run Mageia Graphics Configuration</_message> + <icon_name>drakconf</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/libexec/drakx11</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |