Skip to content

Using Materialized Views for RLS in Supabase: Best Practices and UI Limitations #17790

Discussion options

You must be logged in to vote

You can enforce RLS on regular views now with security_invoker. https://www.postgresql.org/docs/current/sql-createview.html
The UI is limited to displaying views and you need to use SQL to edit them.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@vladimirzb
Comment options

@benjaminpreiss
Comment options

Answer selected by vladimirzb
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants