CodeZen - https://codezen.io
One of the most common features in any web application is authentication, which allows a user to log in or log out of an application to securely manage their information. However, many a time an application might also want to restrict access to certain aspects of the system to a certain type of users. This second level of screening is known as Access Control. I recently had to implement a very advanced and granular level of access control in a Laravel API based Application. So let me show you how you can implement access control using permissions and roles in a Vue SPA with a Laravel 7 back-end.