If you want to proceed with the current approach I'd recommend you to use multitenancy approach -> https://divinglaravel.com/multi-tenancy-in-laravel , have a separate databases for each application so you would not have any conflicts.
Separate roles and permissions for each application
Just need helping hand if I'm doing the right thing or if there is a better approach for this in Laravel.
I have a system that will contain multiple applications and aside from the main system roles I will have another table of roles inside it.
Here's the sample overview
Main System
-Roles
-isAdmin
-isMember
Application1
-User Roles
-isAdmin
-isParent
-isTeacher
-isStudent
Application2
-User Roles
-isAdmin
-isOfficial
-isCaptain
-isMember
Will I have problems in the future if I do this? or should I just centralize the roles for all the applications? Is there a better approach for this that is less complex?
We'll actually be doing that approach.
But should we just use the laravel-permission package and have a centralized roles for all applications and just manipulate the permissions?
Please or to participate in this conversation.