aboutsummaryrefslogtreecommitdiffstats
path: root/extras/org.mageia.policykit.pkexec.adminpanel.policy
blob: 1d8467796bf5835d23ce812cb71ee103daa2e820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>APanel PolicyKit Configuration</vendor>
  <vendor_url>http://hal.freedesktop.org/docs/PolicyKit/</vendor_url>

  <action id="org.mageia.policykit.pkexec.adminpanel">
    <description>Allow APanel GUI</description>
    <message>Authentication is required to run the program apanel (user=$(user), program=$(program), command_line=$(command_line))</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/bin/apanel.pl</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
  </action>

</policyconfig>