Authorization vs File Not Found Behavior is Backwards for File Downloads

    • Type: Defect
    • Resolution: Done
    • Priority: Standard
    • 2.1.9
    • Affects Version/s: 2.1.8
    • Component/s: None
    • None
    • 2
    • Sprint 159

      Problem:

      When the file download controllers start their various checks on if a file is downloadable and authorized to download, there is a check to see if the file exists. This check should really occur after we have checked to see if the end user is authorized to read the dataset.

      Acceptance Criteria:

      The check for authorization to a file needs to occur prior to seeing if the file exists.

      Note: Doing this work after removing the logical file id based URLs will reduce work. If so, we can change our auth-z checks to only be on dataset (and not also on file).

              Assignee:
              sakhan
              Reporter:
              Nathan Hook
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: