Page MenuHomePhabricator

Prevent mentees from sending questions to former mentors
Open, Needs TriagePublic

Description

Since the relationship between mentor and mentees is not being properly removed when a mentor quits mentorship and it's in current investigation under T418194, let's try to avoid mentees sending questions to the wrong recipient. This should be possible by checking if a mentee's mentor is active at the time of sending a question.

Acceptance criteria

  • Detect a mentee is trying to send a question to a former mentor
    • Try to re-assign the mentee to a new mentor and re-send the question to them
    • Make any additional checks to make sure the old relation is dropped
    • If the re-assignment fails make sure the question is not sent to the former mentor, add logs

Questions:

  • if we're unable to re-assign, should we at least drop the old relation? I'd say yes
  • if we're unable to re-assign and send the question, should we give specific feedback to the mentee? I'd say yes