Multiple portals per Org support in the Developer Portal #3214
NethmiRanasinghe
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
1. What is the problem
The Developer Portal currently assumes a one-to-one mapping between a portal instance and an organization. A single organization row is pinned at startup, and every database query is scoped only by
org_uuid.This means it is not possible to run multiple portal instances against the same organization with isolated data per portal which is a requirement for cloud (SaaS) deployments where organizations need separate developer portals.
2. Why we are solving it
3. Proposed solution
devportal_idcolumn is added to all org-scoped tables, and every affected query is filtered by bothorg_uuidanddevportal_id.config.toml(or overridden via an environment variable for cloud deployments), so each portal instance is pinned to its own identifier at startup.All reactions