Problem/Motivation
We faced an infinite loop issue on one of the sites, it turned out a menu link was linking to itself by mistake.
Steps to reproduce
- Edit a menu item and link it that specific menu item edit form ex: /admin/structure/menu/item/31/edit
- Grant "administer menu" to the editor role
- login as editor
- Observe the infinite loop
Proposed resolution
Check if the menu item's URL is the same as the menu item's canonical link to skip access check
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A