I have a menu called "Members Only Resources" that has links to various pages, views, and nodes. All of the menu items link to restricted content.

For anonymous users:
Some menu items are visible but link to pages with only a title (since they are views and the content is restricted). Other menu items are not visible at all.

This is a paid-membership site and so it's important that users can glance at the Members Only Menu to get a feel for what they are missing.

What would be awesome is if regardless of permissions, all menu items in that menu were always visible. But *according* to permissions, non-members who click on the menu items would be sent to a customized "access-denied" page.

I've scoured the forums and looked at many modules. Menu Per Role has the opposite functionality of what I need: I don't want to restrict users, I want to override permissions restrictions in making the links visible.

Is there a module that could help with this or do I need to start from scratch?

Comments

ultimike’s picture

Take a look at the Premium module (http://www.drupal.org/project/premium) - it doesn't do exactly what you want - it will display just the node's teaser to anonymous users.

-mike

nevets’s picture

In addition to using the premium module you might also use the display suite. The display suite makes it easier to layout the full and teaser view for a content type separately. Also, it would allow a completely custom teaser that that show a custom "access-denied" message.