Hello everyone,
Is it possible to hide a page on an element based on user rights?
I know we can hide parameters, but I would like to hide a whole page.
Thanks!
Ana Pinho [SLC] [DevOps Advocate] Selected answer as best 22nd March 2023
Hi Ana,
Another possible workaround will be:
- Create a button that will be displayed for a specific user level.
- When clicking this button, a QAction can be triggered to set the value of a parameter. This parameter can be linked to the visibility of a page (See Visibility element). This feature allows you to dynamically display a page based on the value of a parameter.
With this workaround, only users that can see the button will be able to display the hidden page. The drawback here is that a user will need to execute an extra step (clicking a button) to visualize the page.
Ive Herreman [SLC] [DevOps Catalyst] Posted new comment 17th November 2022
I don’t think that will work, because when the page will become visible, it will be visible to everyone, not only the user that clicked the button.