Skip to main content

Consent Child Vpc Consent Consent Rule Violation Surfaces Dialog

EPIC: consent
Personas & Authorization
STORY: child_vpc_consent
As an owner, I can capture and revoke a child's verifiable parental consent through the owner-gated consent surface.
AC: consent_rule_violation_surfaces_dialog
A DomainRuleException from the gated captureConsent (e.g. the child-only VPC rule) surfaces its safe message in the themed AlertDialog — it is never swallowed.

open governance as the owner

User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'HouseholdPage.peopleButton'>]
Expect:
  • the owner sees the capture affordance
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: GovernanceRoute
  • MembersStarted
  • RoleOwnerStarted

capture → the domain-rule failure surfaces in the dialog

User Actions:
  • Tapped: widget with key [<'GovernancePage.consentButton_kit'>]
  • Tapped: widget with key [<'ConsentCapture.captureButton'>]
Expect:
  • the action-failure AlertDialog is shown (not silent)
  • the dialog carries the typed DomainRuleException message
Events:
  • RoleOwnerConsentCaptured
  • [ANALYTIC] [page_popped]: GovernanceRoute