Kullanıcı Kılavuzu

Return To User Session From Delegation

Return To User Session From Delegation

The Return To User Session From Delegation action on the Kuika platform allows a user who has logged in on behalf of another user (through delegation) to securely return to their original session. This action makes it possible to exit temporarily assumed user roles and continue working with the original user identity.

Technical Features

  • No Parameters Required: This action does not require any parameters; it simply logs out of the current session and returns the user to the user who initiated the delegation.
  • Delegation Termination: Closes the active “delegated” session.
  • Automatic Redirection: Can redirect the user to the previous or default page.
  • Web & Mobile Compatibility: Available on both web and mobile applications.
  • Authorization Compatibility: Authorization is re-evaluated for the returned user.

Return To User Session From Delegation Action Application Steps

  1. Open your project on the Kuika platform.
  2. Go to the UI Design module and select the screen where you want to display the delegation information.
  3. Create a button that will allow the user to return to their own identity (for example: “Return to My Session”).
  1. Select the button and add the Authorization > Return To User Session From Delegation action from the + ADD ACTION menu according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.).
  2. The action closes the delegation session and returns the user to their real identity.

Use Case: Logging Out of a Delegation Session

An administrator delegates authority to an employee who is working in their place while they are on leave. The employee logs into the system on behalf of the administrator and performs the necessary tasks. When the task is complete, the employee must return to their own session.

Scenario Flow:

  • The employee selects the administrator using Get Delegated Sign In Options and starts their session.
  • Authorization-related tasks are performed (approval, editing, etc.).
  • After the operations are completed, the “Return to My Session” button is clicked.
  • The “Return To User Session From Delegation” action is executed:
    • The delegation session is terminated.
    • The user returns to their own session.
    • Authorization roles are restored to their previous state.

Return To User Session From Delegation Action Advanced Customizations

  • Add Redirect: The Navigate action can be added to redirect the user to the profile page or home screen after the action.
  • Delegation Control: This button can be displayed if the user is in a “delegated” session when the page opens.
  • Warning Message: Confirmation can be requested from the user before the return process (e.g., “Are you sure you want to log out?”).

Technical Risks and Controls

  • Non-delegated Sessions: This action should only be executed in a delegation session. If executed in a normal session, it may have no effect.
  • Unauthorized Use: The action should only be visible to users with active session delegation in the system.
  • Access Refresh: The user's Authorization data should be reloaded after return.

Return To User Session From Delegation is a critical action that enables users to securely return to their original identity after temporary task delegation. Secure and controlled termination of delegation management is of great importance for both access security and user experience.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar