ltd-scarletL
Refine15mo ago
16 replies
ltd-scarlet

How to implement access control provider in Next.js?

I'm encountering issues while implementing RBAC in my Refine project.

Tech stack: Supabase, Next.js, Ant Design

When I attempt to pass my access control provider to the Refine component, I receive the following error:
"Functions cannot be passed directly to Client Components."
Was this page helpful?