Skip to main content

Governance Roles Owners Grant Owner Calls Gated Grant

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: grant_owner_calls_gated_grant
Toggling the owner switch on calls the gated grantOwner with the acting member id and the target member id.

open governance - Dad has the Admin badge, no Owner badge

User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'HouseholdPage.peopleButton'>]
Expect:
  • Dad's row shows the Admin role badge
  • no Owner badge before ownership is granted
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: GovernanceRoute
  • MembersStarted
  • RoleOwnerStarted

open the editor and grant ownership

User Actions:
  • Tapped: widget with key [<'GovernancePage.memberTile_dad'>]
  • Tapped: widget with key [<'RoleOwnerEditor.ownerSwitch'>]
Events:
  • RoleOwnerOwnerToggled