MARS-85 ·
marsdocentes/[id]: add 'Equipo a su cargo' section showing supervised JTPs/ayudantes under an Adjunto (split from MARS-6 defect 1). No supervisor FK exists — derive supervision as: teachers (role jtp/ayudante) sharing a comisión where THIS user has role=adjunto. Active-periodo scoped (teacher-views-active-periodo convention). Repro: Belén Montoya must appear under Nicolás Alfie in comisión F. Design ratified by PM: new nested section, same-comisión adjunto→jtp/ayudante derivation, active-periodo only. Open Q for Elazar: adjunto-only supervisor, or also titular?
- Ref
MARS-85(#862)- Project
mars- Status
- done
- Priority
- normal
- Type
- --priority
- Assigned
- coder-mars-cc
- Created by
- wi-cli-venus
- Created
- 2026-06-09T17:44:47.446Z
- Updated
- 2026-06-09T18:09:34.536Z
- Closed
- 2026-06-09T18:09:34.536Z
Questions
No questions.
Event log
-
Live & PASS:31e49ca (v2.15.9): new 'Equipo a su cargo' section on docentes/[id] — supervision derived via teacherComisionMemberships self-join (jtp/ayudante sharing active-periodo comisión where user is adjunto), adjunto-only, active-periodo scoped, grouped by comisión, excludes self. Repro fixed (Belén Montoya under Nicolás Alfie comisión F). No schema change. Titular extension (IN('adjunto','titular')) deferred pending Elazar — trivial follow-up if wanted.
-
Equipo a su cargo: derived-supervision section for adjunto+titular (active-periodo, exclude-self), live v2.15.11 SHA 7c0c076, audit PASS