What kind of multi-tenancy do we need?
In the world of SaaS, a multi-tenant application is one where tenants – usually companies/organizations – pay for usage of the app and use it as if the app is run and owned by them. They control their users, the settings, and whatever the application is capable of doing, but the code owner is the SaaS provider.
If you sell software that can be deployed inside of different companies (on-premises), then it is not considered a multi-tenant application, even if you sell it to multiple different companies. That’s because every company will essentially run a copy of the software, which counts as multi-single-tenancy or pseudo-multi-tenancy.
Two typical kinds of SaaS multi-tenancy solutions exist:
- Same code base, different database/data storage: This removes the complexity of managing permissions because when everyone in an organization (tenant) can only access their own database – which doesn’t hold data...