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.
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.
Click to load comments...