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

Users can list pages they can't view if they contain a link to a page they can

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 13.10.3, 14.1
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Reproduction steps:

      • Login as Admin
      • Create a page PageTest
      • Create a page SecretPage with a link (or an attachment on 14.2RC1+) to PageTest.
      • Make SecretPage non viewable by User1
      • Login as User1
      • Visit PageTest. The backlinks section of the information pane is empty
      • Edit PageTest and add {{velocity$doc.backlinks{
        Unknown macro: {/velocity}

        }}}

      Expected result:
      And empty array [] is displayed.

      Actual Result:
      An array containing the document reference of SecretPage is displayed.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: