← Week 09: Plan at scale: AI experiences and the platform SESSION 02 · THURSDAY

From one user’s tool to a platform people share

More people, more roles, more systems talking to yours. Tonight you design who may do what, how data flows, and where Claude fits.

Roles and permissionsIntegrationsData at scaleADR 0002Threat model
Present slides Full screen, one slide at a time · 12 slides
TONIGHT 01

Tonight’s outcomes

  • Identify what changes in your product as users, roles, teams, integrations and data grow
  • Design roles and a permissions matrix that the server checks on every request
  • Plan integrations with webhooks, retries and idempotency, explained in plain words
  • Plan data at scale and decide the minimum your product sends to Claude
  • Record where the AI call lives, and why, in ADR 0002

OUTPUT · Platform design, permissions matrix and data map in 09-platform.md + ADR 0002

THE IDEA 02

What changes at scale

  1. USERSFrom 20 tutors you know to people you have never met: support, misuse, load
  2. ROLESMore than one kind of person in an account: owner, assistant, parent
  3. TEAMSSeveral people share one account’s records and need different rights
  4. INTEGRATIONSCalendars, payments, email and Claude: you call them, and some call you
  5. DATAMore records, older records, and people asking for theirs back or deleted

Scale is not just more traffic. It is more people, more rights and more history to look after.

THE IDEA 03

Accounts, roles and a permissions matrix

  1. ACCOUNTThe shared space that owns the records: one tutor’s practice
  2. ROLESNamed sets of rights: owner, assistant, parent. People hold a role.
  3. RESOURCESWhat is protected: bookings, availability, learner notes, billing
  4. ACTIONSWhat can be done to each: see, create, change, delete, export
  5. CHECKThe server checks every request; anything not granted is denied

A permissions matrix: roles down the side, actions across the top, a yes or no in every cell.