<?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 gnome-settings-daemon system-wide actions.
    Copyright (C) 2024 Red Hat
  -->

  <vendor>GNOME Mutter</vendor>
  <vendor_url>https://gitlab.gnome.org/GNOME/mutter/</vendor_url>
  <icon_name>battery</icon_name>

  <action id="org.gnome.mutter.backlight-helper">
    <!-- SECURITY:
          - A normal active user on the local machine does not need permission
            to change the monitor brightness.
     -->
    <description>Modify the monitor brightness</description>
    <message>Authentication is required to modify the monitor 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">/usr/libexec/mutter-backlight-helper</annotate>
  </action>

</policyconfig>
