01 · Access control
Permissions are checked at the resource, not just the route.
Every read and write in Aura 4 goes through a per-resource permission check. Role-based middleware narrows the surface; ownership checks then confirm that the authenticated user actually owns (or shares membership with) the record being touched.
Roles are scoped to a workspace and team: a Lead’s privileges never reach beyond the team they lead. Service accounts and API tokens carry the same role checks as human sessions.
- Argon2 password hashing.
- Short-lived JWT access tokens with refresh rotation on use.
- HttpOnly, Secure, SameSite=Lax session cookies for browser sessions.
- Optional multi-factor authentication on every account.