Ignore menu items access level check while parsing sef router so that in case users access to a menu item which requires login, they will be redirected to login page instead of seeing 404 error (same behavior with Joomla! 3)
Testing Instructions
Create a menu item to link to an article, set Access to Registered. Set alias of that menu item to test or something you want.
Access to frontend of your site, remember to log-out if you are logged in
I have tested this item✅ successfully on a96401d
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33638.