calamares/com.github.calamares.calamares.policy
Kevin Kofler bc9b9d2ce4 Rename pkexec policy file to .policy extension.
Rename com.github.calamares.calamares.bin to
com.github.calamares.calamares.policy. This matches how other policy
files in the same directory are named.
2014-11-05 23:34:03 +01:00

22 lines
862 B
XML

<?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>Calamares</vendor>
<vendor_url>https://github.com/calamares</vendor_url>
<action id="com.github.calamares.calamares.pkexec.run">
<description>Run Installer</description>
<message>Authentication is required to run the installation program</message>
<icon_name>drive-harddisk</icon_name>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/calamares</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>