Repository navigation
Add account admission, approvals and SSO group roles - #3
Merged
Merged
Conversation
nmnmcc
marked this pull request as ready for review
October 29, 2026 15:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New and upgraded installations now require an invitation or an explicit administrator grant to create an account. Existing accounts and memberships remain available; organization creation defaults to platform administrators.
This adds one admission check for OIDC, organization SSO and invitation callbacks; independent approval requests with version checks; account suspension with credential revocation; and exact SSO group mappings that preserve manual roles. It also adds optional email code sign-in for teams without an identity provider, bound to verified email and the same admission policy.
The public API includes admission settings, users, grants, approvals and platform audit records. Four additive migrations preserve old users and roles. Setup accepts a private JSON file and a provider-bound administrator identity.
openbot-inspectreturns a redacted deployment snapshot. The mail and invitation work is included, with English, Chinese and German documentation and generated API reference updates.Validation:
A separate tag run hit an intermittent Bot grant E2E failure. The same commit passed PR CI and the full release test rerun. The full E2E suite also passed with two CPU cores (159 passed, one skipped), and the focused test passed repeated runs. No production workaround or test skip was added. The internal email deployment stays closed until its real mail, employee and Cloudflare Access settings pass live checks.