User Manual

Sign In With Delegation

4/7/25
Sign In With Delegation

The SignIn With Delegation action on the Kuika platform allows a user to log in to the system on behalf of another user (with delegation). This action is used by users who want to temporarily use the permissions of another person in scenarios such as task delegation. Delegation must be defined beforehand with the “Create User Access Delegation” action.

Technical Features

  • User-Based Login: Allows login to the system on behalf of another user using the FromUserName parameter.
  • Delegation Check: Only works if a previously defined and active delegation exists.
  • Authority Transfer Activation: The logging-in user assumes the roles and permissions of the delegating user.
  • Web & Mobile Compatibility: Works on both web and mobile projects.
  • Authorization Support: The Authorization system is activated according to the roles assumed after login.

SignIn With Delegation Action Application Steps

  1. Open your project in Kuika.
  2. Go to the UI Design module and create a screen or use an existing one.
  3. Create a button to log in with delegation (e.g., “Log in as Administrator”).
  1. Select the button and add the Authorization > Sign in With Delegation action from the + ADD ACTION menu according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.).
  2. Via Symbol Picker:
  • FromUserName (String - required): The email address of the user who will log in. This user must have delegated their permissions beforehand. Define the FromUserName parameter using the Symbol Picker from the form, screen, or as a Fixed value.

Use Case: Logging in with Administrator Permissions During the Permission Period

A team leader is on annual leave and has delegated some approval tasks to a team member. The team member will log in on behalf of the manager to complete these tasks.

Scenario Flow:

  • The user arrives at the “Log in as Manager” screen.
  • The email address ali.kaya@firma.com is entered (this person has delegated their permissions).
  • When the user clicks the button, the SignIn With Delegation action runs.
  • The system does the following:
    • Signs in on behalf of ali.kaya@firma.com.
    • The user who has been delegated permissions can use the system with ali.kayan's permissions.
    • Authorization settings are updated according to the delegated roles.

SignIn With Delegation Action Advanced Customizations

  • Role Verification: A query can be performed before the action to check whether the user really has access permission to the delegated user.
  • Automatic Form Filling: The FromUserName value can be selected from the Get Active User Access Delegations result.
  • Error Status Management: If no active delegation is found, an appropriate message can be displayed to the user.

Technical Risks and Controls

  • Unauthorized Login: Login should not be allowed on behalf of users who have not been delegated or whose delegation has expired.
  • Invalid User Name: The FromUserName value must be a user registered in the system with an active delegation defined.
  • Authority Conflicts: Roles coming from delegation should not conflict with the current user, and the system should operate consistently.

The SignIn With Delegation action is a powerful authorization solution for Kuika applications in terms of task delegation and operational continuity. It ensures the secure and uninterrupted operation of the system through advanced control mechanisms.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar