Skip to content

Multi-Organization Role Sync compatibility upgrade #14203

@Emyrk

Description

@Emyrk

Role sync currently only works for site-wide roles. This functionality should remain, with the addition that organization roles can also be assigned.

oidcRoles should return []rbac.RoleIdentifier rather than []string to support organizational roles.

Given the "self serve" nature of organizations, org role assignment configuration might want to be deferred to org admins. So the current deployment wide config could remain, with an organization specific configuration extension.

Some debugging and visual tools to see which roles are available via the IDP would be required.

Deployment configuration to upgrade

Static role mapping

User role mapping is defined as a static OIDC_Role -> Coder Site Role. We either need to allow an organization context in the existing configuration option, or add a new config field to inject an organization role.

Metadata

Metadata

Assignees

Labels

enterpriseEnterprise-license / premium functionalitymulti-orgtemporary label for multiple organizations related work

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy