i want to make authentication with laravel base on role ; superAdmin, admin,user,
for that i want many to many relationships between user model and Role model which will result a pivot table role_user.
the second step is i want to use spatie for handling permissions for each role.
the chanllenge is spatie comes with role and role_user.so so when creating those for autentication is it possible that they will be confused?
can anyone help me with please ?
suggest a solution,a step by step guide
Mohssine KISSANE is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.