Repository navigation
feat: add the guest account endpoints - #5
Draft
NikoHadouken wants to merge 6 commits into
Draft
NikoHadouken wants to merge 6 commits into
NikoHadouken wants to merge 6 commits into
Conversation
NikoHadouken
marked this pull request as draft
October 8, 2026 13:13
NikoHadouken
force-pushed
the
feat/guest-accounts
branch
from
October 8, 2026 15:00
bf42e56 to
9d5e6a4
Compare
…ole assignments The guest account endpoints only exist on sherpa-api's feat/guest-accounts so far. The new sequences prepare for creating users and role assignments through the API.
gruene-api needs them to build guest accounts and their user sync before Sherpa implements them. Sherpa has no guest role yet, so the mock adds a made-up one to the roles list.
Follows the spec change that makes the create call safe to retry after a lost response. An expired guest marker no longer counts as access either, so an expired guest can be invited again.
The spec now takes the invitation id as the key for a retry, so an active guest no longer comes back unchanged and gets 409 like anyone else with access.
NikoHadouken
force-pushed
the
feat/guest-accounts
branch
from
November 26, 2026 16:08
9817f67 to
9c12971
Compare
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.
Why
The guest account endpoints exist only on sherpa-api's
feat/guest-accountsbranch, and Sherpa doesn't implement them yet. gruene-api can't build guest accounts or sync them without them.Summary
The mock can now create, renew and revoke guest accounts. Its spec copy is pinned to sherpa-api's
feat/guest-accounts.90000001, because Sherpa has no guest role yet. The roles list includes that role.Deployment