If you are using a menu, if the menu is linking to a node that the anonymous user does not have access to it completely removes the item from the menu. I'd like to keep the menu item there, it should just tell them they need to login on the page once they get there.

Comments

matthew.h created an issue. See original summary.

amy.h’s picture

Title: Menu item disappears if node is user does not have access to node that menu is linked to » Menu item disappears if the node the item is linking to is not accessible to the current user
wla_g’s picture

This is the normal Drupal behavior since ages. You only see menu-items when you have the right to access the content behind the link. It allows you to build one menu which is different based on roles. It is not a bug.

C-Logemann’s picture

Status: Active » Closed (works as designed)

As @wla_g wrote it's correct that this the default behavior of Drupal to do this and there are many discussions around this. So this a not a bug of the Content Access module because it's just interacting with node_access of the core. And the menu as part of core is providing or hiding the link. The "little" D7 module always_visible shows that it's possible to override this default behavior in contrib or custom code e.g. for single menu items. So I believe it's also possible to find a solution for D8 and maybe upgrade always_visible.