Product Launch
anonymous
4 points
4 comments
Posted3 months agoActive3 months ago
Show HN: CLI to Test Supabase RLS Policies
github.comSupabaseRLSSecurity TestingCLI Tools
Discussion (4 comments)
Showing 4 comments
Very cool, I've been in need of something like this even though I only have a few RLS polices (better start now then later right)
Kudos
Edit: does this also allow checking for the storage (buckets) RLS as well or just the DB tables? Thx
3 months ago
Thanks! Right now it only tests DB table RLS policies not storage buckets. Storage RLS is a good idea though, I'll add it to the roadmap
3 months ago
Just pushed an update you can run supashield init to discover your buckets then supashield test-storage to test them separately from tables
3 months ago
Super useful! I have had permissions issues with my DB more times than I'd like to admit..