Team permissions
This guide covers how to use the permissions package in multi-tenant applications where users belong to teams. You will learn how to:
- Create a TeamMember model that carries team-scoped roles
- Authorize actions against the team member instead of the user
- Combine team permissions with token scoping