How to disable menuitem for FullAccessRole users

Hi all,
Is there a way to disable menu item for a specific role?
For example, I need to disable a particular menu item for FullAccessRole user. By default, FullAccessRole user has access to all menu items but I do not want a particular menu to be available for FullAccessRole. How do I achieve this, either to disable the menu item or make it invisible?

Thanks

FullAccessRole by definition is … full access … I doubt that is possible.

Hi Jon,
Yes, I know that full access means all menu items are visible to the role but there are situations one may decide to disable certain menu item especially in a role-based application where a particular menu item is reserved for a particular role and you don’t it clickable or visible to the admin role.

I believe there should be a property set for menu to return active/inactive from a bean so that that menu item can be set. Just a suggestion in case there is no such thing at the moment.

Thanks

In this case I bet your best course of action would be to create a new role similar to FullAccessRole and use THAT instead of the built-in one - then it will be easy to control access.

I think that technically it is possible on the main screen, on the onAfterShow event to check the role of the current user and delete the menu item through AppMenu/Sidemenu API.

But I agree with @modemmisuser is a bad practice.

Hi Jon
This will be a better alternative. I will explore this.
Thanks all