(no title)
damidekronik | 10 months ago
RLS is hard to work with, hard to debug, hard to reason about, cumbersome. It is however powerful.
damidekronik | 10 months ago
RLS is hard to work with, hard to debug, hard to reason about, cumbersome. It is however powerful.
tough|10 months ago
so my mind went to leverage the .zmodel to generate not only the prisma schemas through it and the client api codegen sdk, but also the RLS stuff either with plain sql migrations or a specific framework for rls.
all in all this is probably too much and as long as the app-api level is secure with zenstack and i dont use pg directly anywhere else it should be 'safe' i just wanted to harden all the stack speaking of sorts... idk