The video for this lesson is currently being updated, please read the transcript instead.

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.

To view the complete lesson you'll need to login or join this course.


Click to load comments...