Hiding link from anonymous users
I have 2 nodes on Drupal 7 site, that only authenticated users can access. But even if I logout, links to these nodes appear in the main menu. When I click any of them, it gives:
Access denied You are not authorized to access this page.
Which is correct. As far as I know, Drupal must hide the links, that the user can't access. But for these items it doesn't.
How to fix?