34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
|
<?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>
|