i am planning out a school management system, the main actors are ( Teachers ,Students , Parent ).
i though i will simply have
Teacher Model -> will have user_id and teacher specific attributes.
Student Model -> will have user_id and student specific attributes
Parent Model -> will have user_id and parent specific attributes
Now i realised that a single user can have multiple roles ,example a Teacher can also be a parent ,this brings up the question of which dashboard to direct them to when they login, how to control / manage their different permissions between the accounts and so forth.
my initial solution was to prompt the any user with multiple roles which account they want to use upon login.
######How would you guys tackle this ?????????? whats the best way ...