Skip to content
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

Enable / Disable Multitenancy #873

Open
ertugrulkaya opened this issue Jul 13, 2023 · 1 comment
Open

Enable / Disable Multitenancy #873

ertugrulkaya opened this issue Jul 13, 2023 · 1 comment

Comments

@ertugrulkaya
Copy link

ertugrulkaya commented Jul 13, 2023

Hello Dear Mugesh

Thanks for everything what you and team have done up to now My suggestion is about multitenancy. If there is configuration which enabled and disabled multitenancy, this should help to use app with two way. If multitenancy disabled, then the applicantion should used without tenancy.

@ertugrulkaya ertugrulkaya changed the title Hello Dear Mugesh Thanks for everything what you and team have done up to now My suggestion is about multitenancy. If there is configuration which enabled and disabled multitenancy, this should help to use app with two way. If multitenancy disabled, then the applicantion should used without tenancy. Enable /Disable multitenancy Jul 13, 2023
@ertugrulkaya ertugrulkaya changed the title Enable /Disable multitenancy Enable / Disable Multitenancy Jul 13, 2023
@baranacikgoz
Copy link
Contributor

baranacikgoz commented Jul 18, 2023

It is a little hard to disable multitenancy in this project since multitenancy is tightly coupled in the project imo. You should have add so many checks if multitenancy enabled to proceed with the rest of the code. I would suggest you to comment out all builder.<TEntity>().IsMultitenant() statements (there will be no Where TenantId == .... sql statement generation anymore) and use only root tenant on your own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants