-
-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Description
Since Postgres 15, views support security_invoker (and a few other options) https://www.depesz.com/2022/03/22/waiting-for-postgresql-15-add-support-for-security-invoker-views/ and looks like there's currently no support to do that. I'd love to have a simple API for create_view to be able to specify view options, doing something like this:
create_view :user_profile_accesses, security_invoker: true
Do you have any plans on working on this? If not I'm happy to pick it up and add it. Would love to get on the same page about what the API would look like.
We use RLS, and want to use views + RLS, and security_invoker is required, because views use the access of the view owenr, rather than the view invoker if security_invoker is not set to true
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels