User Manual

Get Authorized Menu Items

27/6/25
Get Authorized Menu Items

Get Authorised Menu Items action allows you to dynamically retrieve menu items that the user is authorised to access. With this action, you can personalise the menus in your application according to users' access permissions. Users can only see the options they are authorised to access, so unnecessary or inaccessible areas are not displayed. This allows you to simplify the user experience while also improving the security of your application.

Technical Features

  • User-Based Menu Personalisation: Menu items are dynamically listed according to users' access permissions.
  • Access Controls: Users only see menu items they are authorised to access, improving security.
  • User Experience: The user experience is simplified by hiding unnecessary menu options.
  • Web and Mobile Compatibility: The Get Authorised Menu Items action works seamlessly on both web and mobile applications.

Get Authorised Menu Items Action Application Steps

  1. Log in to the Kuika platform and open the project you are working on.
  2. Go to the UI Design module and open the Properties panel on the right panel.
  1. + ADD ACTION menu, add the Navigation > Get Authorised Menu Items action according to the trigger event you want (Initial Actions, OnClick, OnBlur, etc.).
  2. This action retrieves and lists menu items according to user access permissions. No parameter configuration is required, but user permissions must be set correctly.

Use Case: Displaying Authorised Menu Items

In an educational application, the Get Authorised Menu Items action is used to allow administrators to access all menu items, while standard users can only access menus within their permissions. This can be done through a button that is triggered to dynamically display menu options based on user permissions.

Adding the Show Authorised Menu Items Action

  1. Enter the UI Design module and drag and drop a Button element from the Elements panel on the left side.
  2. In the Properties panel, enter a phrase such as ‘Show Authorised Menu’ in the Label section of the button.
  3. Select the relevant button and add the OnClick → Navigation → Get Authorised Menu Items action from the + ADD ACTION menu.
  • This action will list the menu items according to the user's permissions and only show the menu items that the user is authorised to access.
  • When the button is clicked, only the authorised menu items assigned to the user are dynamically listed. For example, an administrator can access all menu items, while a standard user can only view the menus they are authorised to access.

Action Workflow:

  1. Administrator Access: The administrator can view all menu items by clicking the button.
  2. Standard User Access: A standard user can only see menu items they have permission to access.
  3. Users can only see the menu options they are authorised to access, thus hiding unnecessary or inaccessible areas. This both enhances security and simplifies the user experience.

Get Authorised Menu Items Action Advanced Customisations

  • Dynamic Menu Structure: You can dynamically create menu items based on user roles and access permissions to further customise the user experience.
  • Multiple Permission Levels: You can integrate this action with different permissions to provide users with more complex permission levels for accessing menu items.
  • Access-Based Filtering: Add filtering mechanisms to display specific menu items only to users in a specific group.

Technical Risks

  • Incorrect Menu Display: Ensure that access levels are defined correctly to ensure that users only see the correct menu items.
  • Data Inconsistencies: When users interact with menus, make sure that the menu data in the database is accurate and up to date.
  • Unauthorised Access: Keep access levels up to date to control that users only access menus they are authorised to access.

The Get Authorised Menu Items action enhances security and simplifies the user experience by ensuring that users only see the menu items they are authorised to access. This action allows you to personalise menu options based on user access permissions, making your application's navigation structure more secure and user-friendly.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar