Implementing Laravel's Authorization on the Front-End - Pine
If you are using Laravel, probably you are familiar with its ACL. You can easily restrict user's access by creating policies and binding them to the specific models. It works perfectly on the back-end, but what can we do if our app is something like an SPA?