summaryrefslogtreecommitdiff
path: root/policy/org.mate.power.policy.in2
blob: c1c81d6a0b72555fd661db02ac8abe3bf99331d5 (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 PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>

  <!--
    Policy definitions for MATE Power Manager system-wide actions.
    Copyright (c) 2010 Richard Hughes <richard@hughsie.com>
    Copyright (C) 2012-2021 MATE Developers
  -->

  <vendor>MATE Power Manager</vendor>
  <vendor_url>https://mate-desktop.org</vendor_url>
  <icon_name>battery</icon_name>

  <action id="org.mate.power.backlight-helper">
    <!-- SECURITY:
          - A normal active user on the local machine does not need permission
            to change the backlight brightness.
     -->
    <description>Modify the laptop brightness</description>
    <message>Authentication is required to modify the laptop brightness</message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">@sbindir@/mate-power-backlight-helper</annotate>
  </action>

</policyconfig>