title: Custom role based auth .NET CORE
body: <p>I have a project in which users can have multiple roles, such as cashier and stock clerk. These roles have the same rights, however someone can also have the roles admin and cashier. In this case he can access more features than a admin/cashier on its own.</p>
  <p>I've searched far and wide but I don't get any wiser from the documentation, as I first thought policies were the way to go, but now I think we need claim-based authorization.</p>
  <p>After searching and playing around I found no answers on the following questions:</p>
  <ol>
  <li>What tables/entities do I need?</li>
  <li>Can this be done without scaffolding tools?</li>
  <li>How does this whole process work, how does .NET CORE know what roles to look at? How can I use custom roles?</li>
  </ol>
  <p>If someone could help me out with this I would appreciate it.</p>
  <p>Cheers.</p>