🔐 Security Redirect
Overview
The 🔐 Security Redirect reusable element is designed to streamline and enhance page access control by automatically redirecting users based on specific conditions. When added to a page, this reusable element checks conditions such as:
Missing or Incorrect URL Parameters
If a page requires specific URL parameters (e.g., a page, subpage, or tab) and they are missing, the user is redirected to the current page with the correct parameters. This ensures that users always land on properly formatted URLs
Unauthorized Access
If a user tries to access a restricted page (e.g., an admin dashboard or a members-only section) without proper permissions or user type/role, they are redirected to the appropriate page.
Implementation
Add the 🔐 Security Redirect reusable element to any page that requires access control or URL validation.
Configure the workflow conditions to match the app's security requirements.
Set up redirection rules to send users to the appropriate page based on their role, permissions, or missing parameters.
Last updated