Can someone help me find a good resource explaining how to do user logins? I have 3 levels - admin, staff, customer.
Admin - can do all CRUD tasks.
staff - can do CRUD but only on their own records.
customer - can view only their own records.
Need a good tutorial of how to implement this.
Also, want to be able to generate PDF reports for users (only admin + staff can do this), need a good tutorial for that please.
Thank you!
Hello there,
I present to you the holy grail of making user-adaptive systems:
BEHOLD
The current user system presented by THE Multitech Visions HIMSELF
https://www.googlecloudcommunity.com/gc/Tips-Tricks/Current-User-Slice-How-to-conform-your-app-aroun...
Also you can find more information on how to build reports here:
https://support.google.com/appsheet/answer/11512511?hl=en
https://support.google.com/appsheet/answer/11539957?hl=en
If you don't want a certain type of user to do something in your app you just "Hide" the relevant action from them depending on their role.
User | Count |
---|---|
16 | |
10 | |
10 | |
8 | |
3 |