-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add multi tenancy to the application #454
Comments
Approaches to multitenancy:
There will be a tenant manager collection which enlists all tenants of the platform. Each tenant will have a separate database created when the tenant is registered. The users collection can either be separate for each db or if a user can be a member to multiple tenants there can be a shared collection. Pros:
Cons:
There will be only one database having a tenant collection, in addition to the exisiting collections. Each of the existing collection will have and extra key called the tenantID which distinguished the data tenantwise. Pros:
Cons:
|
For user login and registration:
In a url domain based approach there will not be major changes to the existing login module whereas using the second approach the login and registration modules will require refactoring. Additional points: |
Thanks @shailee-m. We will discuss these options. |
Considerations
This should be compatible with our Mobile Client task #546
The text was updated successfully, but these errors were encountered: