Show HN: Underrated Postgres: Build Multi-Tenancy with Row-Level Security (simplyblock.io)
Utilizing Postgres' RLS feature to isolate user data instead of easy-to-forget where-clauses, is such an underrated use case, I really wonder why not more people use it.
If you prefer code over the blog post, I've put the full application example on GitHub. Would love to hear your thoughts.
2 comments
[ 5.8 ms ] story [ 13.0 ms ] threadI built multi-tenant services and never used RLS because it's complicated.