There has been quite a lot of discussion in the community recently regarding multi-tenancy. I've been thinking about the issues around this wrt our package.
I can see implementation could be something like this:
User has the option to specify if the package will be used in multi-tenant setup
Configuration option to select how the package determines the current tenant value (reference to a class and method to get the information)
We support configurable prefix
For multi-tenant applications, this can be a regex? Use the tenant value obtained above
For regular applications, this can be a default value (covering cases when same OS container is being used for multiple applications)
Would be good to have brainstorming on this before implementing.
There has been quite a lot of discussion in the community recently regarding multi-tenancy. I've been thinking about the issues around this wrt our package.
I can see implementation could be something like this:
Would be good to have brainstorming on this before implementing.