In my application I have a user and admin panel.
In my admin page I set an auto redirect to the home page if the user is not admin.
Unfortunately, when I logged in with the regular user, and changed in my url to the admin page, it was still loading the admin page, before getting into the home page.
Does it do that even in incognito mode?
Is the Redirect action in a ‘When Page Is Loaded’ or a ‘When Condition Is True’ workflow?
yes, in the page loads and as a condition.
It’s best practice to hide all elements on a page by default and only show items based on your criteria. In your example, have a master group for the Admin page with all elements. Then set a conditional to only show if the user is an admin.
This topic was automatically closed after 70 days. New replies are no longer allowed.