(solved) Realtime subscriptions not working with RLS?
It seems that Realtime subscriptions are not working properly with some RLS policies.
They work as supposed if RLS is completely disabled.
Normal queries (not subscriptions), e.g. SELECT work as expected w/ and w/o RLS policies.
Maybe I am missing something here.
For example:
If I try to apply a simple RLS policy, like the following, the subscription above does not work anymore:
Any ideas?
They work as supposed if RLS is completely disabled.
Normal queries (not subscriptions), e.g. SELECT work as expected w/ and w/o RLS policies.
Maybe I am missing something here.
For example:
If I try to apply a simple RLS policy, like the following, the subscription above does not work anymore:
Any ideas?