Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10171

The menu displays an error if the current user doesn't have access to the document defining the menu

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 6.0-milestone-2
    • Component/s: Menu
    • Labels:
      None
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The following is displayed:

      Failed to execute the [include] macro
      

      and the cause is

      org.xwiki.rendering.macro.MacroExecutionException: Current user [null] doesn't have view rights on document [xwiki:Menu.MyTopMenu]
      

      The menu should not be displayed if the current user doesn't have view access to the document that defines the menu.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: