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

Multi tenancy #86

Open
armintsys opened this issue Jun 14, 2024 · 3 comments
Open

Multi tenancy #86

armintsys opened this issue Jun 14, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@armintsys
Copy link

Did you think about implementing multi tenancy right into DAVe or is this not a topic so far?

Enabling multi tenancy would also be possible of course deploying all modules in different K8s namespaces or even different clusters.

Just wanted to know how you think about this?

@klml klml added this to dave Jun 14, 2024
@klml klml added the enhancement New feature or request label Jun 14, 2024
@klml klml added the help wanted Extra attention is needed label Jul 3, 2024
@martind260
Copy link
Member

martind260 commented Jul 3, 2024

Well the city of munich doesnt need it right now, but we thought about it a bit and identified these high-level tasks to implement muliti-tenancy in DAVe:

  • Save configuration of tenant data in a separate file / tenant database table
  • Read out tenant data and configure data sources and connections
  • Enrich all requests with tenant information
  • Route each DB operation via the tenant using the correct connection (e.g. with spring's AbstractRoutingDataSource)
  • Configuration UI for tenant data (e.g. DB connections, client-specific settings (e.g. city districts), user-to-tenant assignment, etc)
  • Extend authentication by tenant id
  • Consider tenant-specific settings for display in the frontend and calculations in the backend

@klml
Copy link
Member

klml commented Jul 3, 2024

@armintsys Since we as the city of Munich have no need for this, we will not implement it, but we are open to contributions

@armintsys
Copy link
Author

@klml thats fine, there are different solutions possible which do not require code changes. I think one of them could be enough for now. Thanks for help anyways.

@github-project-automation github-project-automation bot moved this to Done in dave Jul 9, 2024
@klml klml reopened this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Done
Development

No branches or pull requests

3 participants