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

server, ui: add multitenant login/logout and tenant dropdown #92694

Merged
merged 1 commit into from
Dec 13, 2022

Commits on Dec 9, 2022

  1. ui, server: add multitenant login/logout and tenant dropdown

    This patch enables login/logout for all tenants on the cluster
    by fanning out the incoming requests to each tenant server.
    Multitenant login introduces a new multitenant session cookie
    with the format as `<session>,<tenant_name>,<session2>,<tenant_name2>`
    etc. The admin ui displays a dropdown with a list of tenants
    the user has successfully logged in to. Selecting a different
    tenant sets the tenant cookie to the selected tenant name
    and reloads the page. If the cluster is not multitenant, the
    dropdown will not display.
    
    Release note (ui change): added a top-level dropdown
    on the admin ui which lists tenants the user has logged
    in to. If not multitenant, the dropdown is not displayed.
    
    Epic: https://cockroachlabs.atlassian.net/browse/CRDB-14546
    Santamaura committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    141b64b View commit details
    Browse the repository at this point in the history