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

Attachment REST resources don't filter hidden documents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.4-rc-1
    • Fix Version/s: 11.5-rc-1
    • Component/s: REST
    • Labels:
      None
    • Development Priority:
      High
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

              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: