Skip to main content

People Access Manage Member Add Adult Switch Join

EPIC: people_access
People & Access — two-tab member + household management
STORY: manage_member_add_adult_switch_join
As an admin I can manage a member's roles/consent on the Members tab, add a new adult directly, and switch to the Households tab to see my households and the join entry.

open People & Access — Members tab shown with Pat's row

User Actions:
  • Tapped: widget with text "Household"
  • Tapped: widget with key [<'HouseholdPage.peopleButton'>]
Expect:
  • People & Access page is on screen
  • DsSegmented tab bar renders
  • DsSegmented is present
  • Pat's member row is visible on the default Members tab
  • Add adult button is visible (acting member is admin)
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted
  • [ANALYTIC] [page]: GovernanceRoute
  • MembersStarted
  • RoleOwnerStarted

open Pat's editor — toggle Admin on → setRole dispatched

User Actions:
  • Tapped: widget with key [<'GovernancePage.memberTile_pat'>]
  • Tapped: widget with key [<'RoleOwnerEditor.adminToggle'>]
Expect:
  • setRole called with composed {member, admin} set
Events:
  • RoleOwnerRoleSet

toggle owner switch → grantOwner dispatched

User Actions:
  • Tapped: widget with key [<'RoleOwnerEditor.ownerSwitch'>]
Events:
  • RoleOwnerOwnerToggled
User Actions:
  • Tapped: widget with key [<'HouseholdPage.peopleButton'>]
  • Tapped: widget with key [<'PeoplePage.addAdult'>]
Expect:
  • the create-adult sheet is open with the name field
  • the submit button is present
Events:
  • [ANALYTIC] [page_popped]: GovernanceRoute
  • [ANALYTIC] [page]: GovernanceRoute
  • MembersStarted
  • RoleOwnerStarted

fill name and submit → temp-password result is displayed

User Actions:
  • Entered text: Jordan
  • Tapped: widget with key [<'CreateAdultSheet.submitButton'>]
Expect:
  • the one-time temp password is displayed after admin create
  • the copy-password button is present
Events:
  • AdminCreateAdultRequested

done with create sheet, switch to Households tab → rows + join

User Actions:
  • Tapped: widget with key [<'CreateAdultSheet.doneButton'>]
  • Tapped: widget with text "Households"
Expect:
  • Alpha House row renders on the Households tab
  • Beta House row renders on the Households tab
  • the Join with code row is present on the Households tab
Events:
  • [ANALYTIC] [page_popped]: GovernanceRoute