Skip to content

Glossary: Firebase and Supabase

policy

Also written: policies, create policy

A Postgres rule that allows one action (select, insert, update or delete) on a table for chosen roles. Once row-level security is on, nothing is allowed until a policy allows it.

Where the book teaches it

Related terms

row-level security (RLS)role, service_role