pkgbuilds/condor-libs/org.condor.libs.pkexec.policy
2024-10-13 10:19:50 -05:00

34 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
<policyconfig>
<vendor>Condor Linux</vendor>
<vendor_url>https://gitlab.com/condor-linux</vendor_url>
<action id="org.condor.libs.install-software.pkexec.policy.run">
<description>Install software with pacman</description>
<message>Authentication is required to install software.</message>
<icon_name>condorlinux</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/lib/condor/install-software</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="org.condor.libs.pkexec-gui.pkexec.policy.run">
<description>Run GUI program as root</description>
<message>Authentication is required to run a GUI program as root.</message>
<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/lib/condor/pkexec-gui</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>