I've installed Drupal 7.21 (standard install profile) on a Mamp Pro 2.1.1 on Mac OSX 10.6.8, PHP 5.3.14, MySQL 5.5.25, no contributed modules, no changes in activated/deactivated core modules.
Reproducing the bug
1. Loging in as administrator
2. Locate permission via menu People->Permissions->Node->View Published Content
3. Uncheck permission checkbox in column "ANONYMOUS USER"
4. Create an article or page with a title and body and assign a menu while creating it
5. Logout
Expected behaviour
Menu item should disappear, because menu items on inaccessible paths (e.g. the article or page node) shall be hidden in Drupal 7
Actual behaviour
Menu item for inaccessible article node is still displayed, cicking on it displays "Access denied."
Summary
Despite missing permission "View Published Content" for the role "Anonymous User" menu items of content are displayed while user is not logged in.
Or is this an explained behaviour?
Thanks for any explanation.
Christian.