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

Multitenancy Support #16

Open
JasonMWebb opened this issue Oct 30, 2021 · 2 comments
Open

Multitenancy Support #16

JasonMWebb opened this issue Oct 30, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@JasonMWebb
Copy link
Collaborator

JasonMWebb commented Oct 30, 2021

Add multitenancy support for entities, and persistence operations. Needs to include tenant resolver for the following scenarios:

  • Web/identity claims
  • Web/session
  • Web/Cookie
  • Web/Domain Http Header or URI
  • LocalThreadContext

Tenancy Models to support:

  • Single Tenant (One Data Store per Tenant)
  • Multi Tenant (One Data Store per Multiple Tenants)
  • Mixed Mode (Possibility to separate certain Tenants from multi tenant data store based on criteria)

Will also need to create connection string factory to support dynamically changing connection strings based on tenancy model.

@JasonMWebb JasonMWebb added the enhancement New feature or request label Oct 30, 2021
@JasonMWebb JasonMWebb self-assigned this Jan 9, 2022
@jasonmwebb-lv
Copy link
Collaborator

There is nothing that currently prevents a multi-tenant strategy from being implemented though it could almost certainly be made easier. The biggest issue surrounding multitenancy is the management of connection strings which is currently correlated with the DataSourceProvider. As it stands, a developer can inject their own factory into a service and dynamically set the datasource name based on multitenancy requirement so this is not a high priority.

@JasonMWebb JasonMWebb moved this to 🆕 New in @RCommon backlog Sep 30, 2022
@JasonMWebb JasonMWebb moved this from 🆕 New to 📋 Backlog in @RCommon backlog Oct 4, 2022
@JasonMWebb
Copy link
Collaborator Author

JasonMWebb commented Jul 15, 2024

I recommend that we use this as the initial implementation. It seems to be comprehensive: FinBuckle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants