Hello!
What is the best practice to hide access to parts of your app for certain roles? I am mostly thinking visually. The data is blocked using permissions.
Hello!
What is the best practice to hide access to parts of your app for certain roles? I am mostly thinking visually. The data is blocked using permissions.
Hi!
Hiding UI elements based on roles can be done under the property “Visible” on the right sidebar when editing a component.
There, you can add a condition for when the element should be visible - e.g. when the current user’s role is “owner”:
Thank you. Is there any way to give a UI element a tag/id/group to ease the administration of these visibility conditions?
What about views? Is there any way to restrict access to them or do I need to use visibility on their outermost container? It would be nice if some views appeared not to exist for certain roles.
Unfortunately, there’s no straightforward way to manage visibility conditions in groups.
However, when working with views, there are several workarounds:
Hope this helps!