Matt
828c09df6d
fix(mentor): primary-role mentors are selectable/assignable
...
getCandidates, getMentorPool and bulkAssign matched MENTOR via roles[] only, so
a user with role=MENTOR but an empty roles[] array (legacy/seeded records, e.g.
Arnaud Blandin on prod) was excluded from the mentor picker and rejected by
bulk assign. Match MENTOR as primary role OR in roles[], mirroring userHasRole.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-01 19:34:40 +02:00
..
2026-03-10 12:47:06 +01:00
2026-04-29 02:30:06 +02:00
2026-05-22 18:38:52 +02:00
2026-05-22 17:09:06 +02:00
2026-03-07 16:18:24 +01:00
2026-02-15 23:04:15 +01:00
2026-03-07 16:18:24 +01:00
2026-03-07 16:18:24 +01:00
2026-02-14 15:26:42 +01:00
2026-02-19 11:11:00 +01:00
2026-03-05 15:40:08 +01:00
2026-03-07 16:18:24 +01:00
2026-04-29 03:13:06 +02:00
2026-04-02 13:03:22 -04:00
2026-05-07 15:21:09 +02:00
2026-03-07 16:18:24 +01:00
2026-05-22 16:37:37 +02:00
2026-02-15 23:04:15 +01:00
2026-05-07 15:21:09 +02:00
2026-03-07 16:18:24 +01:00
2026-04-29 03:12:54 +02:00
2026-02-16 07:49:39 +01:00
2026-04-28 19:37:55 +02:00
2026-03-04 20:18:50 +01:00
2026-04-29 04:14:42 +02:00
2026-06-01 19:34:40 +02:00
2026-04-28 14:29:42 +02:00
2026-02-14 15:26:42 +01:00
2026-02-14 15:26:42 +01:00
2026-03-05 13:06:17 +01:00
2026-04-29 02:44:38 +02:00
2026-03-04 15:41:03 +01:00
2026-05-22 16:37:37 +02:00
2026-04-27 14:47:32 +02:00
2026-02-15 23:04:15 +01:00
2026-05-26 14:04:32 +02:00
2026-02-18 18:23:54 +01:00
2026-05-05 20:30:35 +02:00
2026-03-07 18:16:29 +01:00
2026-05-07 15:21:09 +02:00
2026-02-16 14:02:38 +01:00
2026-02-14 15:26:42 +01:00
2026-06-01 18:51:11 +02:00
2026-03-07 18:26:28 +01:00
2026-02-14 15:26:42 +01:00