Skip to content

TEST: Mentor availability change via profile update #4

@nora-weisser

Description

@nora-weisser
  • Mentor availability is changed by updating menteeSection.longTerm and/or menteeSection.adHoc through PUT /api/platform/v1/mentors/{id} (permission MENTOR_PROFILE_UPDATE). No dedicated toggle endpoint exists.
  • A long-term mentor adding adHoc availability immediately appears under ?mentorshipTypes=AD_HOC.
  • Removing longTerm while keeping adHoc immediately removes the mentor from ?mentorshipTypes=LONG_TERM.
  • validateMentorCommitment re-runs on every update — same hoursPerMentee >= 2 rule.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions