πŸ‡¬πŸ‡§United Kingdom @ocastle

Account created on 6 February 2012, almost 13 years ago
#

Recent comments

πŸ‡¬πŸ‡§United Kingdom ocastle

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!

πŸ‡¬πŸ‡§United Kingdom ocastle

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?

πŸ‡¬πŸ‡§United Kingdom ocastle

Fix on previous re-roll

πŸ‡¬πŸ‡§United Kingdom ocastle

Re-rolled patch.

Production build 0.71.5 2024