[support] Showing menu items when user doesn't have permission to access node
Steven Scotten
steves at splicer.com
Wed Oct 21 19:45:41 UTC 2009
What I'd like to do (what my client wants) is to have menu items for
nodes with permissions restrictions to still be available. That way,
the user gets a link to whatever supersecret page it is and gets
challenged to log in if they are anonymous.
Is this do-able? A search on drupal.org found lots of posts about
making links disappear even when the node should be visible, but not
the other way around.
Obviously this would have to be done conditionally so as not to show
all the admin links, so that makes things more complicated.
My only thought at this point is to make a second menu item for each
menu item that currently requires authentication, and somehow (using
Menu Per Role perhaps?) make that menu item visible only to the
anonymous user.
Am I missing something obvious?
Thanks,
Steve
More information about the support
mailing list