supabase / walrus

Applying RLS to PostgreSQL WAL
Apache License 2.0
122 stars 9 forks source link

WORKER: SQL side is_visible checks must filter on entity #50

Closed olirice closed 2 years ago

olirice commented 2 years ago

subscription_id is not unique so sql versions of is_visible_through_rls and is_visible_through_filters must add a where clause to filter subscriptions by entity AND subscription_id or use the unique id field