Conditional rendering - user with different roles

Is it save to use the conditional rendering function if a user with a “lower” Role isn’t allowed to see an element? Or is it possible for the user to manipulate the code so that he can see the element? (Like it’s possible with the “CSS Display” setting)

1 Like

Hi @tillyboard :wave:

No, it isn’t safe. When it comes to security, you should always protect the backend and never trust the frontend.

Here’s a live stream we did on the topic.

2 Likes