← The Postgres Guy/

RLS Policy Builder

Policy
Permissive policies are ORed together; Restrictive policies are ANDed
who this policy applies to
filter for existing rows
filter for new/updated rows
DDL
Fill in the form to generate your policy