MR check: site-management-services !3100: fix(CCPxRvzq-sync-induction-licences): sync editable personnel licenses
- MR site-management-services!3100, from
cherrypick-autest/CCPxRvzq-sync-induction-licencesintoautest, by Suryo, updated 2026-11-11, checked at commit023d315f. - Verdict: Safe. Of 50 certified dashboards: Broken 0, Affected 0, Needs review 0, Safe 50.
- Post the comment? Not needed (Safe). Post only if the team wants a comment on every MR.
- Changed: 0 migration(s), 0 model file(s), 2 code file(s) naming report data, 2 other file(s).
Drafted comment (not posted)
The comment a developer would see, between the two lines. Nothing is posted by the tool; whether comments are ever posted, and by whom, is not decided.
Report impact check: Safe. No certified Superset dashboard is affected by this MR (50 checked).
Note: Adds syncPersonnelInsuranceLicenses (update submitted licences by uuid, create new ones, delete the worker's licences that were left out) and createMissingPersonnelInsuranceLicenses (add only licences not already saved). A new path for workers to edit their licence values at induction; the data keeps its meaning, though licences removed in the form are deleted.; On re-induction of an existing worker, the submitted licences are now saved: synced (updated, added, removed) when insurance_license_sync is set, otherwise only missing ones are added. Before, licences sent for existing workers were ignored. A new path for users to edit licence values; the data keeps its meaning. (no action needed).
Checked at 023d315f against the 50 published and certified Superset dashboards (map built 2026-11-16) by the Report Impact Checker AI Tool (read-only). Questions: Lucas (BI).
Details for Lucas
Reviewed: flagged
- Note (medium):
src/organisation/services/insurance-license.service.ts: Adds syncPersonnelInsuranceLicenses (update submitted licences by uuid, create new ones, delete the worker's licences that were left out) and createMissingPersonnelInsuranceLicenses (add only licences not already saved). A new path for workers to edit their licence values at induction; the data keeps its meaning, though licences removed in the form are deleted. - Note (medium):
src/personnel/personnel.service.ts: On re-induction of an existing worker, the submitted licences are now saved: synced (updated, added, removed) when insurance_license_sync is set, otherwise only missing ones are added. Before, licences sent for existing workers were ignored. A new path for users to edit licence values; the data keeps its meaning.