HIGH story-peer-mentor-pause-management-coordinator-005 3 pts
3
Story Points
High
Priority
Peer Mentor Pause & Availability
Feature

User Story

As a Coordinator
I want to manually set a peer mentor's availability status to paused or active on their behalf from the mentor's profile view
So that So that I can manage the availability of mentors who are unable or unwilling to use the app themselves, keeping the assignment pool accurate without requiring every mentor to be digitally active

Acceptance Criteria

  • Given I am a coordinator viewing a peer mentor's profile, when the mentor is active, then I can see a 'Set as Paused' action available to me
  • Given I initiate a pause on behalf of a mentor, when I confirm the action, then the Pause Management Service applies the change with coordinator-level RLS permissions
  • Given I pause a mentor on their behalf, when the status is saved, then the mentor receives a push notification informing them that their coordinator has updated their availability status
  • Given I am a coordinator, when I attempt to update a mentor belonging to a different organisation, then the operation is rejected by RLS policy and an error is shown
  • Given I set a mentor's status to active, when the save succeeds, then the mentor appears again in active matching pools and assignment dispatch queues
  • Given I update any mentor's status, when the operation completes, then a coordinator notification to the relevant coordinator (which may be myself) is sent as per the standard notification flow

Business Value

Not all peer mentors will consistently use the app, particularly older volunteers or those with limited digital confidence. Coordinators must be able to maintain accurate availability data regardless of mentor app adoption levels to prevent sending assignments to unavailable mentors — a direct service quality risk. Coordinator-initiated status management ensures data integrity during the gradual onboarding period described in the workshop requirements.