errors pattern
No permission
User has access to the screen URL but lacks role to see / act on its data.
When to use it
Authenticated user without the role / scope. NOT 401 (which redirects to /sign-in).
- Clear it's a permission issue, not a missing page
- Suggest who to ask
Layout regions
- header
- main
States
- unauthorized
Example
<Container><Stack><h1>You don't have access</h1><p>Ask {ownerEmail} for access.</p><Button asChild><Link href="/dashboard">Back to dashboard</Link></Button></Stack></Container>The full No permission pattern specifies 3 exact microcopy strings, 1 motion spec, 4 composition rules — all gated behind the full recipe. Get the full recipe.