TransparentHealth/smh_app

Multi-Organization Support (Nor for MVP)

Offen

#249 geöffnet am 29.10.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)CSS (3 Forks)auto 404
Needs Verificationenhancementfrontendgood first issue

Repository-Metriken

Stars
 (2 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Allow an agent to be in more than one organization.

Current Status

When orgs > 1, the agent's dashboard renders all organizations' members. Columns do not align and results in a weird UI display. Instead of fixing this we've just agreed to have a policy of one person per org. So as long as one agent is in exactly one org, there is no issue.

The OIDC server, however, does support a person(agent) being in 0..n organizations at once. Its similar to GitHub.

Proposed Enhancement (Not MVP)

  • Provide a switching mechanism between orgs
  • Organization Dashboard URL should include organization's slug (like Github).

Even if we decide to keep restricting this app to a single organization per agent, we should still include the organization slug in the URL and refactor surrounding logic accordingly. (Right now its grabbing the first in the list).

cc/ @sharrisoncaktus @ekivemark

Contributor Guide