Open navx2810 opened 7 years ago
Maybe I can create a decorator to put on top of a route and check the security, follow it with enum to check for the privilege group.
Depending on what data storage we go with, we may choose to roll our own identity server or go with http://docs.identityserver.io/en/release/index.html#.
Probably using this payload
{ CID | GID | AID }
CID -- Customer ID GID -- Groomer ID AID -- Admin ID
Admin > Groomer > Customer