diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-12 15:20:51 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-12 15:26:23 +0100 |
commit | cae1f59f7459a136cf52ae3a868b8733ef8c0e80 (patch) | |
tree | bc16410a5ae43825ccd734d2baef8d9732a52e41 /polkit/org.mageia.mgaapplet-config.policy.in | |
parent | c61197a3984f8975fa9fd9a3f0cabe05206c1cb9 (diff) | |
download | mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.tar mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.tar.gz mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.tar.bz2 mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.tar.xz mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.zip |
Use polkit for authorisation (mga#11125)
Diffstat (limited to 'polkit/org.mageia.mgaapplet-config.policy.in')
-rw-r--r-- | polkit/org.mageia.mgaapplet-config.policy.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/polkit/org.mageia.mgaapplet-config.policy.in b/polkit/org.mageia.mgaapplet-config.policy.in new file mode 100644 index 00000000..750d00c3 --- /dev/null +++ b/polkit/org.mageia.mgaapplet-config.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.mgaapplet-config.pkexec.run"> + <_description>Run Mageia Update Applet Configuration</_description> + <_message>Authentication is required to run Mageia Update Applet 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/mgaapplet-config</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |