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

User roles

You may recall from the course introdution that PrintBay has two user types: regular users and an admin user.

Regular users have permission to login and buy prints, whereas admin users can access some additional features which allow them to edit items and create new items.

Role

So, the final piece in our authentication mechanism, will be to adding a "role" property to each user account. This can be used to further control access to particular resources.

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


Click to load comments...