Role based header menu's
Hi All,
Using AEM as an intranet portal - following are my thoughts on enabling role based menu navigation for end user - some links hidden for certain roles / some links disabled
option 1 - client context would be my recommendation any view on this or any other better?
1) use the client context with custom role trait and deliver teaser (pre authored with multiple menus for the different roles) - gives the content author to realize the experience and extensible for additional roles
2) use JavaScript based function checks along with css hide/show - needs a code change every time
3) try it using server side - like role based checks on jsp/jstl. but if these pages are cached then big issue
4) create menu links as content fragments and tag with separate role based etc/tags and use a servlet json to fetch the links (on ajax) and do a client side layout
can we still cache the pages with dynamic menu ?