I have inherited a Laravel 4.2 codebase which has an admin control panel.
Users with role 3 have access to further admin options. Everything is set up fine and working on the live build, however, locally Auth::user()->role
is outputting as a string, when the build is geared to look for an integer.
I can't edit all the if / else permission statements to force an integer.
Is there something simple I should be looking for?
Cheers