I am using Laravel built-in Authentication for users which I run from the terminal php artisan make:auth
It has one table in the database, users
table and has an isAdmin
column, so I am assuming it has two roles an admin
and not_amin
account.
Now, what I want is to modify this built-in functionality of Laravel make:auth
to be able to add some roles like isEmployee
and/or isCustomer
.
How can I achieve this using the available option I have? I hope, I somewhat explained my case. Thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire