HIGH story-geographic-peer-mentor-map-view-coordinator-005 5 pts
5
Story Points
High
Priority
Geographic Peer Mentor Map View
Feature

User Story

As a Coordinator
I want to see which peer mentors have granted location consent for map visibility and be prompted to invite non-consenting mentors to opt in
So that I can maximise the usefulness of the map while fully respecting each mentor's privacy choices

Acceptance Criteria

  • Given the coordinator opens the map view, when the screen loads, then a summary indicator shows the count of mentors visible on the map vs. total mentors in the chapter
  • Given the coordinator taps the 'X mentors not on map' indicator, when the action sheet opens, then they see options to view the list of non-consenting mentors or send a bulk opt-in invitation notification
  • Given the coordinator sends an opt-in invitation, when the action completes, then a confirmation toast confirms the notification was queued and the action cannot be repeated for the same mentors within 7 days to prevent harassment
  • Given a peer mentor has not consented to location sharing, when the coordinator views their profile from the list fallback, then a clear label states 'Not visible on map — location sharing not enabled' without revealing their actual location
  • Given the location-privacy-config is set to municipality-level precision, when mentor locations are rendered on the map, then markers are placed at the municipality centroid, not the mentor's exact address
  • Given a peer mentor revokes location consent, when the change is synced, then their marker is removed from the map within 60 seconds via Supabase realtime subscription without requiring a manual refresh

Business Value

The organisations involved serve users with disabilities who have heightened privacy concerns and, in some cases, safety needs. Building strong, transparent consent controls into the map feature is non-negotiable for GDPR compliance and for maintaining trust with peer mentors who volunteer their time. A poorly handled consent model could cause mentors to leave the platform entirely. Conversely, a well-designed consent flow that maximises opt-in rates directly improves the coordinator's matching capability and the organisation's operational effectiveness.