summarylogtreecommitdiffstats
path: root/org.garuda.libs.pkexec.policy
blob: 104d6538eff693377c7f0ade5a10d0a051e14b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?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>Garuda Linux</vendor>
  <vendor_url>https://garudalinux.org</vendor_url>

  <action id="org.garuda.libs.install-software.pkexec.policy.run">
    <description>Install software with pacman</description>
    <message>Authentication is required to install software.</message>
    <icon_name>garuda-logo</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/garuda/install-software</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  </action>
  <action id="org.garuda.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/garuda/pkexec-gui</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  </action>

</policyconfig>