SupabaseS
Supabase7mo ago
Tobi

Broadcasting on databasse tables and RLS

I am not sure if I interpret these 2 docs correct:
https://supabase.com/docs/guides/realtime/subscribing-to-database-changes
https://supabase.com/docs/guides/realtime/subscribing-to-database-changes

If I would like to display a list of real time group member names from a group_member table and that table has a rls named "Allow read group members of own group" attached to it, will that RLS be applied to my database broadcast changes automatically or do I have to write additional RLS rules (e.g. duplicate the logic)?

E.g. a name update will only be streamed if the mentioned rls permitts it?
Was this page helpful?