Row Level Security #1870
Unanswered
magicMustard
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am looking into psql row level security for my project.
I am reviewing the article here: https://aws.amazon.com/blogs/database/multi-tenant-data-isolation-with-postgresql-row-level-security/
TL; DR - Essentially you can use an ID as your row level security instead of db users.
To do this, you can prepend a SET statement before the SQL.
My question is this, is it possible to add a SET statement that would cover any queries before they are run?
Appreciate any input.
Beta Was this translation helpful? Give feedback.
All reactions