noblemfd
1 month ago
143
2
Laravel

How to Manage Application with multiple role users

Posted 1 month ago by noblemfd

I am developing a web application using Laravel-5.8. The application has users with single or multiple roles. The roles are: SuperAdmin, Admin, Employee, Driver.

A user can be and Employee and at the same time Admin. Likewise, a user can be a SuperAdmin at the same time an Admin.

When each user user logs in, a want a form with drop downlist to popup. The dropdown list should contain the roles of that particular user. The the user picks his role, the application should take time to the module and dashboard of that particular role.

How do I achieve this?

Please sign in or create an account to participate in this conversation.