[misc] Apply the new XAR format.
XWIKI-10171: The menu displays an error if the current user doesn't have access to the document defining the menu
* Check if the current user has view access to the document defining the menu.