-
-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
Hey,
Firstly great project. I come here via https://github.com/bikeshedder/tusker to report this issue
I use RLS fairly heavily in my project and I've found security_invoker
setting is not respected when diffing a view. This is exceptionally dangerous because by default it causes me to leak sensitive data.
Given:
CREATE OR REPLACE my_view WITH ( security_invoker = TRUE ) AS ...
against an empty db
Expected:
CREATE OR REPLACE my_view WITH ( security_invoker = TRUE ) AS ...
Actual
CREATE OR REPLACE my_view AS ...
I expect this is related to #182
pjmv, xEverth, devstein, goszczynskip, Revadike and 12 more
Metadata
Metadata
Assignees
Labels
No labels