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

Attachment REST resources don't filter hidden documents

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 11.5-rc-1
    • 11.4-rc-1
    • REST
    • None
    • High
    • Easy
    • N/A
    • N/A

    Description

      You can reproduce with:

      • /xwiki/rest/wikis/xwiki/attachments
      • /xwiki/rest/wikis/xwiki/spaces/Help/attachments

      Attachments from hidden pages are included even if the current user is not supposed to see hidden pages. Note that hidden pages are filtered in the Pages REST resource since XWIKI-7800.

      Attachments

        Issue Links

          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: