I can’t comment on the relationships part but for managing roles you should look at https://github.com/spatie/laravel-permission
Sep 23, 2021
7
Level 1
Implementing Relationships Between User Roles
I want to assign roles to users. I also want to have different roles have relationships with each other. For example, I have a "student" role, a "parent" role and a "teacher" role. A parent should have many students and a teacher should have many parents. In addition, a user can have multiple roles at once. How would I go about implementing these relationships within Laravel?
Please or to participate in this conversation.