Problem/Motivation
Given this menu link:
menu_test.current:
title: 'Link to current page'
route_name: '<current>'
menu_name: account
An anonymous will not see it in the "account" menu. This is because the access to the route is denied. But if a user reached a page is supposed to be able to reach it again. So, the access to the <current>
route should always be granted.
The bug is proved by the attached patch.
Proposed resolution
Always allow the access to <current>
route.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.