MEDIUM story-course-enrollment-management-coordinator-005 3 pts
3
Story Points
Medium
Priority
Course Enrollment Management
Feature

User Story

As a Coordinator
I want to enroll a specific peer mentor in a course on their behalf using coordinator-level database access
So that So that peer mentors who are unable or unwilling to navigate the enrollment flow themselves can still be registered for mandatory certification courses without missing deadlines

Acceptance Criteria

  • Given a coordinator initiates an enrollment flow, when they reach the confirmation step, then they can specify a peer mentor under their oversight as the enrollee instead of themselves
  • Given a coordinator submits enrollment on behalf of a peer mentor, when the CourseEnrollmentService processes the request, then it verifies coordinator role authorization via row-level security before writing the enrollment
  • Given the enrollment is successful, when the confirmation is shown, then the enrolled peer mentor's name is displayed in the confirmation to prevent errors
  • Given a coordinator attempts to enroll a peer mentor outside their organizational scope, when the request is validated, then it is rejected with an appropriate error message
  • Given a peer mentor is enrolled by a coordinator, when the enrollment record is created, then the enrolled peer mentor receives the push notification confirming their enrollment

Business Value

Not all peer mentors, particularly older or less digitally confident users, will independently use the enrollment flow. Without coordinator proxy enrollment, mandatory certification deadlines would be missed for this cohort, reducing the organization's qualified mentor pool and creating compliance gaps for Bufdir grant requirements. This mirrors the existing proxy registration capability for activity logging and aligns with the coordinator's core responsibility of managing peer mentor compliance across their organizational scope.