In an admin panel, only users with the “admin” role should be able to see additional settings. This can be controlled with the Get Current Session Info action.
Scenario Steps:
- When the page loads, the Get Current Session Info action runs.
- The obtained user information is transferred to a temporary variable using the Set Value action.
- Using Condition:
- If the user's role is “admin,” the “System Settings” section of the page is made visible.
- Users with other roles cannot see this area.
Example output:
- Username: elif.yilmaz@firma.com
- Roles: [‘admin’, “editor”]
- SessionId: 78e4-a987-fd03
- LoginTime: 29.05.2025 09:15
With this data, personalized experiences and security controls can be easily implemented within the application.