Consent Flow Screen
Component Detail
Description
Full-screen consent presentation that intercepts navigation to sensitive assignment content when a required consent is absent. Renders the consent document text, version indicator, and accept/decline actions; on acceptance hands off to Consent Service and unlocks the guarded content. Supports the coordinator paper-override path with a mandatory audit note field.
consent-flow-screen
Sources & reasoning
A dedicated full-screen UI component is required to implement the progressive consent gate pattern - blocking access to decrypted sensitive assignment data until explicit consent is recorded. The coordinator paper-override path and GDPR withdrawal flow add distinct UI states that warrant a self-contained screen rather than an inline widget.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render full-screen consent gate before sensitive assignment data is displayed
- Present consent document text with version and organization context
- Capture accept, decline, or coordinator paper-override actions
- Invoke Consent Service to persist grant or override record
- Surface GDPR withdrawal option and immediately hide sensitive data on revocation
Interfaces
show(assignmentId, consentType, templateVersion)
onConsentGranted(callback)
onConsentDeclined(callback)
showWithdrawalConfirmation(consentId)
showCoordinatorOverride(assignmentId)
Relationships
Dependencies (2)
Components this component depends on