I'm fairly new to Laravel and been looking all over for this answer but not able to find anything that fits my requirements.
Basically I want the ability for a single login user to be assigned multiple roles based a specific school.
So for example:
School A: The User is student
School B: The User is Manager
School C: The User is a manager and Teacher
Ideally in the UI, a user can login and then switch between the schools he is registered to. Then depending on what school he chooses he will possibly be a different role (Teacher, Student, Manager).
I have also been looking at morphing but not sure if that's the right solution because of the fact that I want the ability for a user to possibly have multiple roles assigned to a particular school.