4 Replies
@whoami what's RLS? Sounds familiar but the acronym is escaping me right now
row level security?
yea
gotcha. yes, we're exploring some different authorization frameworks we might offer in the future on top of a convex module system. one of the models that's definitely a possibility to provide is row-level security. if that's the approach you'd prefer (especially if this is based on good experiences from previous systems like supabase?), would be great to hear your point of view/experiences/preferences on this to help us prioritize
@lee just wrote a post where he implemented RLS as a library /helper you can import & extend https://stack.convex.dev/row-level-security
Row Level Security: Wrappers as "Middleware"
Implementing row-level security on Convex as a library. Wrap access to the database with access checks written in plain old JS / TS.