Skip to main content

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.