CRITICAL story-role-based-access-control-organization-administrator-001 5 pts
5
Story Points
Critical
Priority
Role-Based Access Control
Feature

User Story

As a user
I want to select which organization and local association context to work in after logging in
So that So that my activities, reports, and data are scoped to the correct organization and I avoid contributing to double-reporting across local associations

Acceptance Criteria

  • Given a user with memberships in multiple organizations, when authentication succeeds, then the Organization Selection Screen is displayed before the home screen
  • Given the Organization Selection Screen is displayed, when the user selects an organization, then the session context is set to that organization and the user is navigated to the home screen
  • Given a user with only one organization membership, when authentication succeeds, then the Organization Selection Screen is skipped and the user proceeds directly to the home screen
  • Given an organization context has been selected, when the user navigates throughout the app, then all data and actions are scoped to the selected organization
  • Given the user wants to change their active organization, when they switch roles or re-authenticate, then they are presented with the organization selection screen again

Business Value

NHF requires handling members in up to five local associations simultaneously with no double-reporting. Without this screen, users operating across multiple local associations would report activities to the wrong organization, causing data corruption in Bufdir grant reporting and potentially resulting in loss of grant funding. This provides the organizational scoping foundation that all other features depend on.