medium complexity extracted Peer Mentor Status Confidence: 100%
2
Components
18
Shared
0
User Stories
Yes
Analyzed

Description

Certification Expiry Auto-Pause automatically transitions a peer mentor to paused status when their certification lapses, without requiring manual intervention from the mentor or coordinator. HLF explicitly requires that mentors with expired certifications are removed from organizational visibility automatically. The system monitors certification expiry dates server-side and triggers the pause state change on the expiry date, notifying both the mentor and coordinator and creating an audit trail entry recording the automated reason for the transition.

Sources & reasoning

Line 80 explicitly ties HLF's pause requirement to certification expiry with automatic removal from visibility. Certification-training is Fase 3 per section 5 (line 355), ordinal Fase 3 maps to v1.1, consistent with the blueprint's [v1.1] tag for this feature.

  • HLF kobler dette til sertifisering: ved utgĂ„tt sertifikat forsvinner likepersonen fra lokallagets nettsider automatisk.
  • Kursadministrasjon og sertifisering: PĂ„melding til kurs i appen, automatisk pĂ„minnelse ved utlĂžp, digitale sertifikater.

Analysis

Business Value

An uncertified peer mentor actively supporting contacts creates legal and reputational exposure for the organization. The manual alternative - a coordinator noticing expiry and manually pausing the mentor - is error-prone and adds administrative burden across potentially dozens of mentors. HLF specifically stated that expired-certificate mentors must disappear from local association websites automatically, implying the auto-pause signal must be consumable by external systems. The feature also creates a positive re-engagement loop: auto-pause combined with a renewal reminder motivates timely recertification rather than silent lapse.

Implementation Notes

Two collaborating services: CertificationExpiryMonitor (a server-side scheduled job) checks expiry dates for all active peer mentors daily and triggers AutoPauseTriggerService when a certification has lapsed. AutoPauseTriggerService reuses the same state-transition logic as the manual pause flow to ensure a consistent audit trail. The monitor must run server-side since the client may be offline at expiry time. Notifications are generated for both the mentor (with renewal deep-link) and the coordinator. The ResumeFunction prerequisite check must integrate with certification status to block re-activation until a valid certificate is recorded in the system.

Quality Assurance

Peer Mentor (subject — receives automated pause and push notification on certification expiry)
1
Scenarios
4
UAT Steps
12
A11y Annotations
0
Role Boundaries
Peer Mentor subject view

Peer Mentor

Quick UAT

  1. Logg inn i Meander-appen som en likeperson hvis sertifikat utlÞp i dag eller tidligere. Bekreft at appen Äpnes normalt.
  2. Sjekk at et statusbanner eller varselmelding vises pÄ hjemskjermen med tekst som indikerer at kontoen er satt pÄ pause pÄ grunn av utlÞpt sertifikat.
  3. Åpne varselinboksen og bekreft at det finnes en automatisk varsling med Ă„rsaken 'sertifikat utlĂžpt' og tidsstempel fra i dag.
  4. Naviger til profilsiden og bekreft at statusfeltet viser 'PĂ„ pause' med Ă„rsak automatisk sertifikatutlĂžp — ikke manuell pause.

Quick UAT — Accessibility

  1. Logg inn i Meander-appen som en likeperson hvis sertifikat utlÞp i dag eller tidligere. Bekreft at appen Äpnes normalt.
    • Screen reader Innloggingsskjerm annonseres korrekt; feltlabeler og knapp leses opp av TalkBack/VoiceOver i riktig rekkefĂžlge.
    • Keyboard / focus Alle innloggingsfelt og innloggingsknapp nĂ„s med Tab; Enter aktiverer innlogging.
    • Touch target Innloggingsknapp og tekstfelt er minst 24×24 CSS-piksler.
  2. Sjekk at et statusbanner eller varselmelding vises pÄ hjemskjermen med tekst som indikerer at kontoen er satt pÄ pause pÄ grunn av utlÞpt sertifikat.
    • Screen reader Statusbanneret annonseres av skjermleser ved sidelasting; pauseĂ„rsak formidles som tekst, ikke kun via farge.
    • Live region 'Kontoen din er satt pĂ„ pause. Sertifikatet ditt har utlĂžpt.' annonseres som polite live region.
    • Contrast 4.5:1 kontrast pĂ„ bannertekst; pausestatus ikke indikert utelukkende med farge.
  3. Åpne varselinboksen og bekreft at det finnes en automatisk varsling med Ă„rsaken 'sertifikat utlĂžpt' og tidsstempel fra i dag.
    • Screen reader Varslingselement annonseres med tittel og tidsstempel; skjermleser leser innboksen top-to-bottom.
    • Keyboard / focus Varselinboks nĂ„s via Tab fra navigasjonsmenyen; piltaster navigerer mellom varsler; Enter Ă„pner detaljer.
    • Touch target Hvert varslingskort er minst 24×24 CSS-piksler med tilstrekkelig trykkflate.
  4. Naviger til profilsiden og bekreft at statusfeltet viser 'PĂ„ pause' med Ă„rsak automatisk sertifikatutlĂžp — ikke manuell pause.
    • Screen reader Statusfelt leses opp som 'PĂ„ pause — automatisk sertifikatutlĂžp'; Ă„rsak formidles som tekst, ikke kun ikonfarging.
    • Zoom Profilsiden er brukbar ved 200% zoom uten avkuttet statustekst eller overlappende elementer.
    • Contrast 4.5:1 kontrast pĂ„ statusetiketten; pauseindikator skiller seg fra aktiv-status via tekst i tillegg til farge.

Expected End State

Likepersonens konto er automatisk satt til 'PÄ pause'-status pÄ sertifikatets utlÞpsdato. Likepersonen og koordinatoren har mottatt varsling med automatisk Ärsak. En revisjonsloggpost er opprettet med Ärsak 'sertifikatutlÞp (automatisk)'.

User Stories

No user stories have been generated for this feature yet.