CodeZen - https://codezen.io
In the first part of this tutorial, we set-up our Laravel 7 API backend with 4 APIs and guarded them with permissions and roles. To clarify, we set up three types of roles, namely, Super Admin, User Manager, and Role Manager. These roles are made up of one or more permissions, which in turn, grant the User a set of permissions to access the APIs exposed by the Laravel 7 application. Therefore, if you have not gone through the first part already, I highly suggest you do so. Now, let’s begin implementing access control using permissions and roles in Vue!