04. User Management

Chapter 4 of 24 · 15 min

Local verification checkpoint

Run the smallest example from this chapter in a local workspace and record the package version, runtime, data path, and observed output. If the result depends on model size, vector count, CPU/GPU backend, or available memory, note that constraint beside the exercise so the lesson remains reproducible.

EXERCISE

Design the API endpoints for inviting a user to an organization. Include the data model changes, the endpoint signatures, and the authorization checks. Handle the case where the invited email already exists in the system versus when it doesn't.