I fixed this by modifying the Menu.MenuMacro in Object mode and then changing the code in the XWiki.WikiMacroClass. I added a condition that looked to see if the user was a guest. What I added is in bold below.
{{velocity}} #set ($id = $xcontext.macro.params.id) #set ($type = $xcontext.macro.params.type) #set ($colorTheme = $xwiki.getUserPreference('colorTheme')) #if ("$!colorTheme" != '') ## Make sure we use an absolute reference (see XWIKI-9672) #set ($colorTheme = $services.model.resolveDocument($colorTheme, $doc.documentReference)) #end #set ($discard = $xwiki.ssx.use("$xcontext.macro.doc.prefixedFullName", {'colorTheme': $colorTheme})) #set ($discard = $xwiki.jsx.use("$xcontext.macro.doc.prefixedFullName")) (% #if ("$!id" != '') id="$id"#end class="menu menu-$!type" %)(((*#if ($isGuest == false)* $xcontext.macro.content *#end*))) {{/velocity}} -- View this message in context: http://xwiki.475771.n2.nabble.com/Menu-Application-access-for-Unregistered-Users-tp7589375p7589378.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users