Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

noblemfd's avatar

How to Manage Application with multiple role users

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?

0 likes
2 replies
jlrdw's avatar

Also many good past post on this. Punch this into Google.

site:laracasts.com multiple roles

I've answered a few myself.

Please or to participate in this conversation.