ustaxcourt / ef-cms

An Electronic Filing / Case Management System.
https://dawson.ustaxcourt.gov/
Other
88 stars 47 forks source link

BUG: Practitioner cannot view some documents. #716

Open mmarcotte opened 3 years ago

mmarcotte commented 3 years ago

Describe the Bug

It looks like users are getting unauthorized to view document for case documents even though they have access to it.

Error: Unauthorized to view document at this time.
    at handleCourtIssued (/var/task/api.js:913128:11)
    at Object.exports.getDownloadPolicyUrlInteractor (/var/task/api.js:913228:9)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async /var/task/api.js:1058811:10
    at async /var/task/api.js:1057709:23
    at async exports.handle (/var/task/api.js:1057484:20)

Business Impact/Reason for Severity

Petitioners and Practitioners should have access to all of the documents associated with their case (provided that it's not sealed)

In which environment did you see this bug?

Prod

Who were you logged in as?

What were you doing when you discovered this bug? (Using the application, demoing, smoke tests, testing other functionality, etc.)

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected Behavior A clear and concise description of what you expected to happen.

Actual Behavior A clear and concise description of what actually happened. Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Cause of Bug, If Known

Process for Logging a Bug:

Severity Definition:

FOR ENGINEERING TEAM ONLY Bug Resolution Steps:

adunkman commented 3 years ago

POST data would be very helpful in debugging this, since there’s lots of branching logic.