Skip to main content

Governance Roles Owners Helper On Child Surfaces Guard

EPIC: governance
Personas & Authorization
STORY: roles_owners
As an admin, I can compose members' roles (Member base + Admin/Helper overlays) and household ownership through the capability-gated governance surface.
AC: helper_on_child_surfaces_guard
Toggling Helper on for a child surfaces the SDK helper ⇒ adult guard (DomainRuleException) in the AlertDialog.

open the governance page with a child member

User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'HouseholdPage.peopleButton'>]
Expect:
  • admin actor reaches the governance page
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: GovernanceRoute
  • MembersStarted
  • RoleOwnerStarted

toggle Helper - the kind guard surfaces in the dialog

User Actions:
  • Tapped: widget with key [<'GovernancePage.memberTile_kit'>]
  • Tapped: widget with key [<'RoleOwnerEditor.helperToggle'>]
Expect:
  • the AlertDialog surfaces the helper-kind guard
  • the dialog carries the DomainRuleException message
Events:
  • RoleOwnerRoleSet