Sign-up, invite links and a first-run onboarding checklist #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #1. Depends on teams, roles and the admin page (sign-up mode is an admin setting). Best done last, since it's the front door to everything else.
Today
POST /api/bootstrap, called by the Helm post-install Job (charts/terdut-server/templates/bootstrap-job.yaml), which stores the result in a Secret.Scope
Sign-up
openorinvite-only, defaulting toinvite-only. No email-domain mode — there is no email to verify addresses with.POST /api/signup: creates the account, then creates a team (open mode) or joins the invite's team.internal/api/auth.go).Invites
invitestable: token hash, team, role, created by, expiry, single- or multi-use, redeemed at.Onboarding checklist (shown on first sign-in, dismissable, resumable)
Integration instructions
Done when
Someone with an invite link can go from nothing to a real page on their phone without an admin touching anything, and a fresh install with the Job still comes up with one admin and one team.