Authentication and Authorization in One Request
Authentication establishes an account or other principal. Authorization decides which operations that principal can perform on the identified resource.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a draft read
A successfully signed-in reader may still lack permission to read someone else's draft. Evaluate the resource policy after establishing the user's identity. See preview and publish state for why drafts and public pages differ.
Test both conditions independently
Use synthetic accounts for an allowed read, a signed-in reader without permission, and a request without identity. Decision tables keep those outcomes reviewable.[1][2]