Get Menu Management Access List By Role ID

Get Menu Management Access List By Role ID

The Get Menu Management Access List By Role ID action is used to query menu management access permissions based on a specific role ID in the Kuika platform. With this action, administrators and developers can clearly analyse which roles have access to menu items within the application.

Technical Specifications

  • Menu Permission Listing: Retrieves menu management access permissions based on a specific Role ID.
  • Role-Based Visibility Control: Helps analyse which roles can access menus.
  • Web & Mobile Compatible: The action is supported on both web and mobile applications.
Get Menu Management Access List By Role ID Action Application Steps
  1. Select your project from the Apps screen.
  2. Go to the UI Design module.
  3. Create the element that will trigger the action (e.g. a button or screen load event).
  1. Select the button and add the Authorisation > Get Menu Management Access List By Role ID action from the + ADD ACTION menu according to the desired trigger event (Initial Actions, OnClick, OnBlur, etc.).

Parameter Configuration

  • Role ID (String-Required): This is the ID of the role for which menu access rights will be obtained.
  • It is usually defined using data sources such as Action Result, Current, Form Component, Screen Input or Fixed, and can be linked via the Symbol Picker tool.

Use Case: Role-Based Menu Authorisation Control

In an admin panel, the system administrator wants to see the menu access information for a specific user role when that role is selected. This allows menu visibility and control permissions to be managed in a secure and organised manner.

Application Flow:

  • Element: ‘Get Menu Permissions’ button
  • Trigger: OnClick
  • Action: Authorisation → Get Menu Management Access List By Role ID
  • Parameter:
    • Role ID → ddlRoles.selectedItem.roleId
Get Menu Management Access List By Role ID Action Advanced Customisation
  • Filterable Menu List: Permitted menus can be filtered and displayed.
  • Authorisation Status with Coloured Icons: Green icons can be used if management permission is granted, and grey icons if not.
  • Automatic Refresh on Role Change: Menu information can be automatically updated according to the role.
  • Conditional Visibility: Menu lines can be highlighted if the permission level is high.

Technical Risks and Controls

  • Invalid Role ID: An error may occur when an undefined Role ID is entered.
  • Unauthorised Use: Only authorised users should be able to trigger this action.
  • Incomplete Menu Permission Configuration: If system menu permissions are not properly defined, lists may return empty.
  • Use Without Role Update: Newly defined roles cannot be listed with this action until they are added to the system.

The Get Menu Management Access List By Role ID action allows you to query menu access permissions in your application based on roles. This action provides a critical control mechanism for permission management, menu visibility, and user experience. It is particularly useful for simplifying management in large-scale and multi-role systems.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar