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.
If you prefer code over the blog post, I've put the full application example on GitHub. Would love to hear your thoughts.
https://github.com/simplyblock/example-rls-invoicing