MR check: site-management-services !3090: fix(personnel): scope invitation email check to organisation [f4YxoHWz]
- MR site-management-services!3090, from
cherrypick-autest/f4YxoHWz-invitee-induction-org-scoped-emailintoautest, by mas Furqaan, updated 2026-11-10, checked at commit8387bba0. - 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), 1 code file(s) naming report data, 1 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).
Read and cleared: 1 file that name report data (they don't change what gets stored).
Checked at 8387bba0 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: Safe
src/personnel/personnel.service.ts: The duplicate-email check when inviting personnel is now scoped to the organisation (case-insensitive, ignoring archived personnel) instead of all personnel. This is validation: some invitations that were refused are now accepted, but the personnel rows created keep their meaning and organisation_id is set as before.