> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AD-006 Role-Based Access

## Context

Customers, reviewers, and administrators need different operations. Customers must not read or modify another customer's claim.

## Decision

Validate Microsoft Entra bearer tokens and enforce Customer, Reviewer, and Admin roles. Check claim ownership for customer requests. Require two distinct reviewers above CAD 500.

**Status:** Approved design.

## Alternatives

\[OWNER INPUT REQUIRED: alternatives considered in the design review.]

## Consequences

Role assignments and ownership checks must be tested at every route and before payment execution.

Separate customer and staff tenants are supported by configuration but are not required by the guide's initial development setup.

## Date and evidence

Decision date: \[OWNER INPUT REQUIRED: decision date].

Evidence: repository `GUIDE.md`, sections 10, 15, 16, and 24.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.