Tech
Multi-tenant reporting in ASP.NET Core: row-level security your users can't bypass
By Razi Syed. Sample code for this article: github.com/dotnetreport/dotnetreport-multitenant-rls
If you run a multi-tenant SaaS product on .NET, you have already solved tenant isolation for the parts of the app you wrote. Every query your code issues carries a WHERE TenantId = @tenant , or a global query filter in EF Core does it for you, and you sleep fine.
Then a customer asks for reporting. Not a fixed set of reports — self-service reporting, where their analysts pick tables and c...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to