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

Improve authorization checks based on the current user for accessing a VFS attachment archive

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4-milestone-2
    • Fix Version/s: 8.3, 8.4-rc-1, 7.4.6
    • Component/s: VFS
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Right now we have 2 problems:

      • we don't create any xwiki context and we don't authenticate the user
      • the authorization check we do is cached and thus if a user has access to a vfs node and then a user without access permission tries to access it, he'll be allowed...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: