RBAC in Next.js 14

Hi,

I’m have a Next.js 14 app router application running fine with Auth0. Now, how to implement a RBAC so that I can hide/show UI components as well as querying database in server components and server actions?

The first step in [Configure Core Authorization Features for Role-Based Access Control](https://Configure Core RBAC) is to register API with Auth0. Is that needed for Next.js?

Can you point me to any good Auth0’s RBAC tutorial in Next.js 14?