Inside the Software Lab
Let team admins invite people by email.
This changes who can join a team, so it's auth. I'll get the crew to read the code first, then plan it in steps. On Autopilot the crew runs it end to end; the plan and the merge are yours.
The plan
9 steps, each with its owner on the crew
- Research teams, roles and sign-in · researcher-1
- Research the mailer; file the build plan · researcher-2
- Add an invites table with expiring tokens · builder-1
- Add the invite and accept routes · builder-2
- Add Invite to the team page, and the email · builder-3
- Review the data and routes, with the security checklist · reviewer-1
- Review the team page and the email · reviewer-2
- Verify inviting, and an expired link · verifier-1
- Verify accepting, on wide and narrow screens · verifier-2
Proven
Reviewed, fixed, and verified in the running app
reviewer-1 found a blocker: An accepted invite link can be used again to join. It was fixed and reviewed again. A journey failed once: On a narrow screen, Accept is under the cookie banner. It was fixed, reviewed, and passed on the second run. Every journey is recorded.