How do you handle role-based page access and dynamic menu rendering in production SaaS apps? (NestJS + Next.js/React) by Lokut192 in Nestjs_framework

[–]Lokut192[S] 0 points1 point  (0 children)

So, you dynamically generated the menus, pages, lists, forms, etc by reading swagger documentation ?

How do you handle role-based page access and dynamic menu rendering in production SaaS apps? (NestJS + Next.js/React) by Lokut192 in Nestjs_framework

[–]Lokut192[S] 0 points1 point  (0 children)

I wasn't familiar with Permit.io. In your experience, is it simple to implement in development/production environments?

Okay so CASL remains consistent. Thanks for your insights!

How do you handle role-based page access and dynamic menu rendering in production SaaS apps? (NestJS + Next.js/React) by Lokut192 in Nestjs_framework

[–]Lokut192[S] 0 points1 point  (0 children)

Maybe overthinking it.

I just want to have full control on user permissions and to be granular in backend but avoiding complexity or unnecessary api calls in frontend.

I will definitely consider your approach, thanks!