/
Hiding front-side menu items from non-authorised users

Hiding front-side menu items from non-authorised users

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/ba752127a581db0f#

Hello community.
I wonder whether no one had noticed this before or just everybody think
that this doesnt needs to be done, but... In almost each project we have
different categories in menu (front-side) to display to logged-in users
and for guests. I have seen only one way how this is done - by
hardcoding those menu items in to templates (if LoggedIn, else...).
Well, such way of doing this is quite easy for sure, but doesnt seem to
be optimal at all. Those "if" constructions in templates become very
large time by time and there is no flexibility.
I think that the best way of solving this problem is changing current
field "Menu Status" in section management from just "show/hide" to list
of user groups (with multi-select), so that it would be possible to
hide/show menu items basing on current users group.