Good evening, I'm developing a system with Laravel 5.6, and I have a table of USERS that has the attribute level. This attribute can be either USER or ADMIN. How do I block page / dashboard access if the user has a USER level?
Good evening, I'm developing a system with Laravel 5.6, and I have a table of USERS that has the attribute level. This attribute can be either USER or ADMIN. How do I block page / dashboard access if the user has a USER level?