feat(#78): one citizen reference across self-service and the openbaar register #79
Reference in New Issue
Block a user
Delete Branch "feat/78-reference-correlation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
Before this change the self-service confirmation and the openbaar register showed different identifiers, so a citizen could not look their registration back up (#78). Now both surface the same reference:
registrationIdis set as the zaak'sidentificatieonPOST /zaken.identificatieback through the ACL (§8.1 — only the ACL talks to ZGW) via a newPOST /zaken/reference, and stores it on the projection row and theprocessed_notificationsreplay log.id/status/reference(never bsn/naam) and searches by id or reference; the register's "Referentie" column shows the reference.Storing the reference in the replay log keeps ADR-0008's rebuild-is-log-only invariant intact —
/admin/rebuildreproduces the reference without re-reading the ACL.Decision recorded in ADR-0012.
Definition of Done
make unit): domain 49, acl 27, bff 20, event-subscriber 19, acceptance 7nx run-many -t lint test)Acl__BaseUrlwired for the subscriber in composecloses #78