Skip to main content

Household Settings Household Settings Edit Admin Guard Blocks Household Settings Route

EPIC: household_settings
Admin · Household settings
STORY: household_settings_edit
As an admin, I can edit the household name + emoji from the More tab and save the changes. (The address moved to the House entity.)
AC: admin_guard_blocks_household_settings_route
AdminGuard denies the /household-settings push to a member without manage-roles — the page never opens.

open the Admin hub as an admin

User Actions:
  • Tapped: widget with text "Profile"
  • Tapped: widget with key [<'MorePage.adminEntry'>]
Expect:
  • the admin reaches the hub
  • the Household settings row is tappable for this guard test
Events:
  • [ANALYTIC] [page]: ProfileRoute
  • MoreStarted
  • MoreCurrentMemberChanged
  • [ANALYTIC] [page]: AdminRoute

tap Household settings after losing access — push denied

User Actions:
  • Tapped: widget with key [<'AdminHubPage.householdEntry'>]
Expect:
  • AdminGuard blocks the non-admin from /household-settings
  • the user stays on the Admin hub