RLS raw AWS RDS
Hi!
We are using RDS for our postgres database in a B2B2C startup. Some tables have RLS on customer_id + organization_id and some others only on organization_id.
I was wondering if there was a way to put RLS on these table and give the ids on every transaction that better auth does? (Does better auth even do queries inside transaction blocks with a begin and commit?) Or if I should just leave these tables alone without RLS? (Which is kind of a security issue no?).
I have heard stuff about supabase and RLS but we are doing our own stack on AWS so this doesnt really apply to us.
Thanks!
1 Reply
did you find any solution?