mercredi 28 novembre 2018

How can i login with single role if user have multiple role assigned in laravel?

I have a use case that a user having multiple role but want to login user with a single role at a time and give the rights of respective role for example a user have employee,manager & finance manager role and each role have its own permissions/rights. So, now i want the system ask for role selection when user trying to login in the system and on the basis of select it would authenticate .

Laravel 5.4

Zizaco/entrust 1.3.x

TIA.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2FMqTFU
via IFTTT

Aucun commentaire:

Enregistrer un commentaire