MCPcopy Create free account
hub / github.com/PatchMon/PatchMon / oidcSyncRoles

Method oidcSyncRoles

server-source-code/internal/handler/oidc.go:707–712  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

705}
706
707func (h *OidcHandler) oidcSyncRoles() bool {
708 if h.resolved != nil {
709 return h.resolved.SyncRoles
710 }
711 return h.cfg.OidcSyncRoles
712}
713
714// oidcSuperadminGroup returns the effective OIDC superadmin group mapping.
715// Empty string means no group is configured (superadmin cannot be granted via OIDC).

Callers 2

CallbackMethod · 0.95
createOidcUserMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected