mardi 29 août 2017

Filter AngularJS routes based on Laravel Auth user data

I am trying to build a dashboard that uses AngularJS and Laravel for my API. I would like to know if there is a way to add a global filter for certain users when they try to access restricted routes. Something that does not need to be added to every controller in my Angular app.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire