Document landed SSO and RBAC access-boundary behaviours from #5034
(36ff8eaa81) and #5079 (9f71173b7a) across docs/OIDC.md, docs/RBAC.md,
and their shipped mirrors in frontend-modern/public/docs/, with
source-bound regression tests in
scripts/tests/test_oidc_session_docs.py:
- docs/OIDC.md (+ mirror): document required exact `openid` scope
validation on enabled OIDC provider writes, partial missing-role
replacement and fail-closed `session_failed` / `invalid_state`
callback handling, automatic withdrawal of mapping-origin roles when
Group Role Mappings are cleared (while preserving manually assigned
roles), issuer-bound SSO principals when a provider is repointed, and
exclusion of unverified OIDC emails from legacy assignment migration.
- docs/RBAC.md (+ mirror): document issuer-bound SSO principals when
repointing an existing provider, partial missing-role replacement and
`session_failed` refusal, and withdrawal of mapping-origin roles when
group mappings are cleared.
- scripts/tests/test_oidc_session_docs.py: bind each documented
behaviour directly to internal/api/identity_sso_handlers.go,
internal/api/auth_principal_identity.go,
internal/api/oidc_handlers.go, and internal/api/saml_handlers.go, and
verify the RBAC.md shipped mirror matches docs/RBAC.md.
Contract-Neutral: Documentation, mirrored in-app Help, and Python
doc-regression test alignment for already-landed runtime behaviour with
no runtime, API, schema, or subsystem contract changes.
---
Fleet candidate `20261127T184337Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`9ef5b524eb954722d323594d1280763296baeb05` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)