MOPC-App/docs/round-redesign-architecture.../mixed-round-design-implemen.../flowcharts/override-audit-flow.md

15 lines
430 B
Markdown
Raw Normal View History

# Override Audit Flow
```mermaid
flowchart TD
A[Override Request] --> B{Authz + Scope Check}
B -->|fail| X[FORBIDDEN]
B -->|pass| C{Reason Fields Present?}
C -->|no| Y[BAD_REQUEST]
C -->|yes| D[Fetch Current Value Snapshot]
D --> E[Apply Override Mutation]
E --> F[Persist Immutable OverrideAction]
F --> G[Append DecisionAuditLog]
G --> H[Return Updated Entity + Audit Ref]
```