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

[BUG] Fix configs to support multi-tenancy #346

Open
roberlander2 opened this issue Jan 26, 2023 · 0 comments · May be fixed by #359
Open

[BUG] Fix configs to support multi-tenancy #346

roberlander2 opened this issue Jan 26, 2023 · 0 comments · May be fixed by #359
Assignees
Labels
bug Something isn't working

Comments

@roberlander2
Copy link
Collaborator

Describe the bug
The current implementation of ApplicationConfig does not support multi-tenancy. Only one application config is used (based on environment variables), so any functions using data from an ApplicationConfig will not support multi-tenancy.

Expected behavior
Implement the configs collection solution from https://github.com/rokwire/building-block-template-go and add Type, AppID, and OrgID fields to support multi-tenancy. Also, a System flag should be added to configs to allow system-level users to control which configs may be modified by lower-level admins. SyncConfig and ManagedGroupConfig should both be stored in the configs collection.

@roberlander2 roberlander2 added the bug Something isn't working label Jan 26, 2023
@roberlander2 roberlander2 self-assigned this Jan 26, 2023
@roberlander2 roberlander2 linked a pull request Feb 21, 2023 that will close this issue
18 tasks
@roberlander2 roberlander2 linked a pull request Feb 21, 2023 that will close this issue
18 tasks
roberlander2 added a commit that referenced this issue Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant