Anyway we can integrate this with routes? Any aid is appreciated.
Amin Al-Ali

You can use php artisan to generate a middleware and then call the Auth::user()->authorizeRoles([‘manager’]) method inside this middleware and that’s it.. you just apply this middleware in any desired route.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.