Iridescent-CM / technovation-app

The team submission platform for the Technovation Challenge
https://technovationchallenge.org
GNU General Public License v3.0
7 stars 4 forks source link

Ensure students and mentors have only one primary chapter #5130

Open shaun-technovation opened 3 weeks ago

shaun-technovation commented 3 weeks ago

Students and mentors can be manually assigned to a chapter by an admin or chapter ambassador, it is unlikely to occur, but two people could assign a student or mentor to different chapters, (chapter ambassador A and chapter ambassador B both have the unaffiliated list open and each chapter ambassador assigns them to their chapter), making it so they would be associated to two chapters (two primary chapters for mentors), which would make for some messy data and could lead to some confusing scenarios.

shaun-technovation commented 3 weeks ago

I proved this out on Preview by impersonating two ChAs who belong to separate chapters but operate in the same region, I was able to add a student to both chapters (this would happen with mentors and their primary chapters too). Anywho, it's an issue, but definitely an edge case, not high priority to fix before our initial release, imho.