CRITICAL story-role-based-access-control-coordinator-003 3 pts
3
Story Points
Critical
Priority
Role-Based Access Control
Feature

User Story

As a Coordinator
I want to see only the navigation tabs that are relevant to my coordinator role
So that the bottom navigation is uncluttered and I am not distracted by tabs I cannot or should not use

Acceptance Criteria

  • Given a coordinator is logged in, When the bottom navigation renders, Then exactly the coordinator-permitted tabs are visible and no admin-only tabs appear
  • Given a coordinator switches to a peer mentor role using the role switch widget, When the switch completes, Then the bottom navigation updates to show peer mentor tabs
  • Given a coordinator is on the Contacts tab and navigates to a contact detail then back, When they return to the tab, Then their scroll position and list state are preserved
  • Given a coordinator with accessibility settings enabled, When the bottom nav renders, Then each tab has a correct semantic label announced by screen reader

Business Value

A clutter-free navigation bar reduces cognitive load, which is a top-priority design principle explicitly requested by all three organizations. Showing irrelevant tabs confuses users and undermines trust in the application, particularly for coordinators who may be less digitally experienced.