talent-connect/connect

[CON | Mentorship acceptance]: Ensure Exclusive Acceptance of Mentorship Matches

Closed this issue · 0 comments

Context/background

A bug was discovered when two mentors, just minutes apart, accepted a mentorship request from the same mentee. This scenario arises if both mentor number 1 and mentor number 2 happen to open the page with the "Accept Mentorship" button simultaneously. Had mentor number 2 opened the page just a few minutes later, they wouldn't have seen the button; instead, they would have noticed that the mentorship request had expired.

What needs to be done?

Eric's estimation: one hour of work