[support] Pages with restricted access and menu entries.

Martin Tomes lists at tomes.org
Sat Sep 23 20:41:30 UTC 2006


I have defined a page type for pages which should be hidden from 
anonymous users by writing my own module (an edited copy of page.module) 
and have set permissions so that only users in specific roles can read 
those pages.  My problem is that if I add that page to a menu that menu 
entry is shown to anonymous users and I would like it to be hidden from 
them (they get permission denied on clicking on the menu entry) and only 
shown to logged in users with view permission.  Is there any way to 
achieve this?

-- 
Martin Tomes.


More information about the support mailing list