Roll Based Web App [closed]

I'm gonna implement RBW (roll-based-web) and I'm not sure how to do this. But I'm sure I don't need to make several pages (namespaces) for each role, such as admin/index.jsx, manager/index.jsx, tech/index.jsx, and customer/jsx. I use: Back-end: Nest.js Front-end: React.js Roll Admin - full access, control all data and settings Manager - customer/site edit Tech - site access, data input, report submission Customer - read-only access to report/historical data for their site. If anyone has good experience, kindly let me know. Thanks, Marc

Apr 21, 2025 - 17:36
 0
Roll Based Web App [closed]

I'm gonna implement RBW (roll-based-web) and I'm not sure how to do this. But I'm sure I don't need to make several pages (namespaces) for each role, such as admin/index.jsx, manager/index.jsx, tech/index.jsx, and customer/jsx.

I use: Back-end: Nest.js Front-end: React.js

Roll

  1. Admin - full access, control all data and settings
  2. Manager - customer/site edit
  3. Tech - site access, data input, report submission
  4. Customer - read-only access to report/historical data for their site.

If anyone has good experience, kindly let me know.

Thanks, Marc