Certification Expiry Auto-Pause
Feature Detail
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.
-
docs/source/likeperson.md · line 80HLF kobler dette til sertifisering: ved utgÄtt sertifikat forsvinner likepersonen fra lokallagets nettsider automatisk.
-
docs/source/likeperson.md · line 114Kursadministrasjon og sertifisering: PÄmelding til kurs i appen, automatisk pÄminnelse ved utlÞp, digitale sertifikater.
Analysis
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.
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)Peer Mentor
Quick UAT
- Logg inn i Meander-appen som en likeperson hvis sertifikat utlÞp i dag eller tidligere. Bekreft at appen Äpnes normalt.
- 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.
- à pne varselinboksen og bekreft at det finnes en automatisk varsling med Ärsaken 'sertifikat utlÞpt' og tidsstempel fra i dag.
- Naviger til profilsiden og bekreft at statusfeltet viser 'PĂ„ pause' med Ă„rsak automatisk sertifikatutlĂžp â ikke manuell pause.
Quick UAT â Accessibility
-
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.
-
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.
-
à 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.
-
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)'.
Components (20)
Shared Components
These components are reused across multiple features
User Stories
No user stories have been generated for this feature yet.