Row Level Security

RLS

Row Level Security (RLS) is a PostgreSQL feature that lets you define policies controlling which rows a database user can read or write. In Supabase, RLS is enabled by default on tables created via the dashboard. The service role key bypasses RLS entirely, which is why it should only be used server-side.

b

In BroadcastMail

You don't need to change your RLS policies to use BroadcastMail. It reads your user table through a dedicated `broadcastmail_reader` Postgres role — not a service role key — and never writes to your database.

RelatedManagement API, auth.users