Skip to content

RediWM is a Wayland compositor written in Zig (OpenGL ES) that includes everything in one process

1.3 KB
Raw Blame
<?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>
  <!-- pkexec picks the action by the helper's first argument. -->
  <action id="org.rediwm.firewall.read">
    <description>Read the firewall settings</description>
    <message>Authentication is required to read the firewall settings</message>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">@BINDIR@/rediwm-firewall-helper</annotate>
    <annotate key="org.freedesktop.policykit.exec.argv1">read</annotate>
  </action>
  <action id="org.rediwm.firewall.manage">
    <description>Change the firewall settings</description>
    <message>Authentication is required to change the firewall settings</message>
    <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">@BINDIR@/rediwm-firewall-helper</annotate>
    <annotate key="org.freedesktop.policykit.exec.argv1">manage</annotate>
  </action>
</policyconfig>