ACME HQDemo work items and pages, made up for Emargen's demo. Not a real company.
Engineering / ENG-1425

Decision email says 'approved' for a refused request when the approver adds a note

Project
Engineering
Type
Bug
Status
Done Done
Priority
High
Organization
Northgate
Reporter
Ines Costa <ines.costa@acme-hq.example>
Assignee
Piet de Vries <piet.devries@acme-hq.example>
Labels
northgate
Components
notifier
Fix versions
notifier 2026.05.11
Sprint
Sprint 42
Created
8 May 2026, 09:00 UTC
Updated
11 May 2026, 10:10 UTC
Resolved
11 May 2026, 10:10 UTC

Description

Northgate (SUP-820): a site worker got "Your request was approved" with the approver's note "Refused, ask your team lead first".

Steps to reproduce

  1. Refuse a request with a note.

Expected: "Your request was refused" and the note. Actual: the approved template, with the note.

In notifier:src/consumers/access-events.ts the note-present branch picks the approved template for both an approved and a declined RequestDecided.

Linked issues

Comments (1)

Piet de Vries · 11 May 2026, 10:10 UTC

Fixed and tested every event × note/no note. Looked back: 41 refused-with-note emails went out wrong since March. List to Ines so support can tell Northgate.