Yes, it just occurred to me that menu item extras might be doing something as we do have that installed as well.
Glad itβs working!
Hi @littlepixiez, For me, I get dynamic form ids based on the current menu.
e.g. "menu_link_content_main_form" for main menu
or "menu_link_content_account_form" for the account menu.
Changing the hook to use "menu_item_role_access_form_menu_link_content_form_alter" uses the base form id and resolves the issue for me.
In your testing does toggling the admin setting "Allow parents to override children" here: /admin/config/menu-item-role-access show/hide the 'Override children" setting on all the menus for you?
Fix on previous re-roll
Re-rolled patch.
ocastle β created an issue.
Re-rolled.