Skip to main content

Rooms Rooms Management Admin Guard Blocks Rooms Route

EPIC: rooms
Admin · Rooms (inside a house)
STORY: rooms_management
As an admin, I can create, rename and delete a house's rooms (places) after opening that house from the Houses hub.
AC: admin_guard_blocks_rooms_route
Even with a house on screen, AdminGuard denies the /rooms push to a member who has lost manage-roles — the rooms page never opens.

open the Admin hub and the Houses list

User Actions:
  • Tapped: widget with text "Profile"
  • Tapped: widget with key [<'MorePage.adminEntry'>]
  • Tapped: widget with key [<'AdminHubPage.housesEntry'>]
Expect:
  • AdminGuard admits the admin to /houses
  • the seeded house is listed
Events:
  • [ANALYTIC] [page]: ProfileRoute
  • MoreStarted
  • MoreCurrentMemberChanged
  • [ANALYTIC] [page]: AdminRoute
  • [ANALYTIC] [page]: HousesRoute
  • HousesStarted

tap the house after losing access — the push is denied

User Actions:
  • Tapped: widget with key [<'HousesPage.houseTile_house-home'>]
Expect:
  • AdminGuard blocks the non-admin from /rooms
  • the user stays on the Houses hub