In a website that I maintain, an issue was reported. Some links from contents that are not published, are shown to the anonymous users in the mega menu.
Create some links in a menu, to some contents published and not published
Add the mega menu in a region of the website
Check the website as logged in and logged out user
Hide links for anonymous users.
Closed: cannot reproduce
3.0
Code