Role-based UI features
You'll probably recall in module four when we set up API authentication that we gave each user a role; either the admin role, or just a regular user role.
Then we protected certain endpoints so they couldn't be accessed by particular user types. For example, a regular user can't edit an item.
Well, Vue Auth also allows us to protect parts of our client app based on user role.
Click to load comments...