KindeK
Kinde17mo ago
15 replies
Kenton

Do Roles or Permissions update immediately in user session?

I am wanting to restrict access to certain NextJS routes and pages to users with either a role or permission but on update (only tested with roles), the role remain the same.

My use-case is, I want to allow admins to edit members roles and user data but after updating the user, their data server or client side does not reflect the updated role.

How would you recommend handling this? Thanks
Was this page helpful?