Kullanıcı Kılavuzu

Get Active User Access Delegations

Get Active User Access Delegations

Kuika's Get Active User Access Delegations action is used to list all active permission delegations that a specific user has delegated to other users. With this action, system administrators or application users can view who a specific user has delegated permissions to, for which roles, and when.

Since permission delegation is time-based, this action only returns active delegations, i.e., those within the valid date range. It plays an important role in both individual control and administrative control processes.

Technical Features

  • User-Based Filtering: Permissions delegated by a specific user can be queried.
  • Date-Controlled Results: Only delegations that are active within the valid date range are returned.
  • Includes Role Information: Delegated roles are also included in the query results.
  • Web & Mobile Compatibility: The action can be used in both web and mobile applications.
  • Authorization Compliance: The results obtained are consistent with the system's role-based authorization rules.

Get Active User Access Delegations 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, table, or data card (example: “View My Active Delegations”).
  1. Select the button and add the Authorization > Get Active User Access Delegations action from the + ADD ACTION menu according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.).
  2. Define the FromUserName parameter:
  • FromUserName (String - required): The email address of the user who delegated the permissions. Specifies which user's delegations will be queried. Typically linked from: CurrentUser.Email, Form Component, Action Result, Screen Input, or Fixed data sources.
  • Example: CurrentUser.Email (to view their own delegations)
  1. Display the action result to the user visually by linking it to a Table element.

Usage Scenario: Viewing Active Delegated Permissions

An employee has delegated some of their roles to different people during permission periods. They now want to check who they have delegated which permissions to through the system.

Steps taken by the user in the “My Active Permissions” screen in the application:

  • Click on the “View My Active Permissions” button.
  • The Get Active User Access Delegations action runs.
  • The FromUserName parameter is automatically matched with the email address of the user logged into the system.
  • The system queries all active permission delegations within the active date range.
  • The result is presented to the user as a visual list (tables, cards, etc.).

Sample output list:

  • Recipient User: ahmet.yildiz@firma.com
    • Roles: editor, approver
    • Start Date: 01.07.2025
    • End Date: 07/15/2025
  • Recipient User: selin.kaya@firma.com
    • Roles: viewer
    • Start Date: 07/03/2025
    • End Date: 07/10/2025
  • Recipient User: emre.dogan@firma.com
    • Roles: content-manager, moderator
    • Start Date: 05.07.2025
    • End Date: 20.07.2025

Thanks to these outputs, users can easily track who they have delegated permissions to, which roles have been delegated, and the date range for which the delegation is valid.

Get Active User Access Delegations Action Advanced Customizations

  • Filtered Listing: Filtering can be done by date or role.
  • Automatic Listing of Own Delegations: Personal delegations can be automatically listed by connecting to CurrentUser.Email.
  • Administrator Panel Integration: Used by administrators to review the delegations of different users.
  • Combine with View Details Action: The Get Active User Access Delegation Detail action can be integrated to view the details of each row.
  • Revoke Delegation Mechanism: Special actions such as Revoke Delegation can be defined to manually terminate delegations.

Technical Risks and Controls

  • Empty Parameter: Error checking should be performed when FromUserName is empty or invalid.
  • Data Density: If there are a large number of delegations, pagination should be used.
  • Privacy: Other users' delegations should only be viewable by authorized roles.
  • Historical Delegations: This action only retrieves records within the valid date range; a separate query is required for archived records.

Get Active User Access Delegations is a functional and flexible action that lists the valid permissions delegated by a specific user to other users. It provides a powerful tool for ensuring transparency in internal workflows, supporting audit processes, and maintaining control over user access.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar