<?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>jjacky</vendor>
  <vendor_url>https://github.com/jjk-jacky</vendor_url>

  <action id="org.jjk.kalu.sysupgrade">
    <description>Upgrade all packages that are out of date (same as `pacman -Syu`)</description>
    <message>Authentication is required to start a full system upgrade via kalu's updater</message>
    <icon_name>kalu</icon_name>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.jjk.kalu.sysupgrade.downloadonly">
    <description>Download all packages that are out of date (similar to `pacman -Syuw`)</description>
    <message>Authentication is required to download packages to pacman's cache (system databases won't be touched/synchonized)</message>
    <icon_name>kalu</icon_name>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

</policyconfig>
