Conditional Rendering for Pages

Hello,

Does anyone know if there’s a way to conditionally render complete pages? Example: I don’t want some pages to load if the user’s role = user.
I wanted to only render pages related to the user’s role.

Hi @albarracim :wave:

You can use private pages to prevent users from accessing a page if they don’t have the proper user role.

Is that what you had in mind?

1 Like

More or less… I was wondering something like not loading/rendering those pages…