Secures Supabase Realtime private channels via RLS policies on the realtime.messages table.
97
97%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
{resource}:{tenant_id}:{sub_topic}).private. Using public access level for tenant data exposes it to all connected clients.realtime.messages table MUST have RLS enabled with tenant-scoped policies before any private channel is deployed.realtime.messages using (SELECT auth.jwt() ->> 'tenant_id') for tenant scoping.tenant_id in Presence track payloads to enable server-side filtering.auth.jwt() calls in policy expressions with a subselect: (SELECT auth.jwt()).INSERT on realtime.messages to the anon role.