Skip to content

Best strategy for a single, shared tenant-aware database and centrally-controlled data access? #9944

Answered by Skrypt
willnationsdev asked this question in Q&A
Discussion options

You must be logged in to vote

I personally think that each tenants should use their own table even if it's becoming "harder to manage" over time.
It's always harder to isolate a specific tenant data when you are using a single table for multiple tenants.
I think you can use the OpenId module to authenticate every tenants on a single main tenant. Though, the same role permissions will be applied on every tenants. As for Lucene we don't recommend using it in a SaaS scenario, you should look at ElasticSearch instead (scalable), we have a PR which is a work in progress that already works but needs some adjustments here and there.

An other approach you could consider is to use the Content API of each of these tenants and m…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
3 replies
@willnationsdev
Comment options

@willnationsdev
Comment options

@willnationsdev
Comment options

Answer selected by willnationsdev
Comment options

You must be logged in to vote
6 replies
@Skrypt
Comment options

@willnationsdev
Comment options

@Skrypt
Comment options

@ns8482e
Comment options

@willnationsdev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants