hussam_3h
DTDrizzle Team
•Created by hussam_3h on 2/24/2025 in #help
RLS doesn't work when managing policies with Drizzle?

4 replies
DTDrizzle Team
•Created by hussam_3h on 2/22/2025 in #help
Using `query` with RLS.
New to Drizzle from Prisma and the hype is real. Psyched about easily using RLS. But...
I am using RLS with Supabase and followed the Drizzle SupaSecureSlack example (https://github.com/rphlmr/drizzle-supabase-rls). Why is it that I can use
db.admin.query.findMany....
but not do that with rls? Is there a way I can pass the rest of the client
context thru the transaction? I am not sure I have enough knowledge to figure that out. Would appreciate any support!!!1 replies