- 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.