<?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>

  <vendor>Raspberry Pi Ltd</vendor>
  <vendor_url>https://www.raspberrypi.com/</vendor_url>

  <action id="com.raspberrypi.rpi-imager.run">
    <description>Run Raspberry Pi Imager</description>
    <message>Authentication is required to run Raspberry Pi Imager</message>
    <icon_name>rpi-imager</icon_name>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/rpi-imager</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  </action>

</policyconfig>

