Skip to main content

Governance Admin Guard Non Admin Blocked From Governance

EPIC: governance
Personas & Authorization
STORY: admin_guard
As the household, only an admin (manage-roles capability) can open the roles & owners management page.
AC: non_admin_blocked_from_governance
A member without manage-roles who taps the affordance is denied the push and stays on the Household tab.

open the Household tab

User Actions:
  • Tapped: widget with text "Household"
Expect:
  • the governance affordance is present on the Household tab
Events:
  • [ANALYTIC] [page]: HouseholdRoute
  • MembersStarted

tap the governance affordance - the push is denied

User Actions:
  • Tapped: widget with key [<'HouseholdPage.peopleButton'>]
Expect:
  • AdminGuard blocks the non-admin from /governance
  • the user stays on the Household tab