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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.0-milestone-2
    • 5.4.2
    • Menu
    • None
    • Easy
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: