Next.js Discord

Discord Forum

Good Evening,

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
I need a help to build a module based portal like https://portal.azure.com and here i planned to implement a RBAC in deep level
like i have to check module view permission after that any permission based action are allowed in that page.

Here my plan -> i store the module permission in redis after the user login based on sessionid
after that each page redering i have to fetch the permissions from the redis of that particular module check respective permissions in that page

I try to fetch the module permission on the layout but it only render on initial load

the data must be secure i have to collect the permission on server side rendering in client side i just check it if it necessary

Kindly help me out on this.

@Oriental

2 Replies