Identifying user roles

The first step of our design will be to think about you using the application and why.

We envision four user states or roles for LemonMart:

  • Authenticated, any authenticated user would have access to their profile
  • Cashier, whose sole role is to check out customers
  • Clerk, whose sole role is to perform inventory-related functions
  • Manager, who can perform all actions a cashier and a clerk can perform but also have access to administrative functions

With this in mind, we can start a high-level design of our app.

Get Angular 6 for Enterprise-Ready Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.