Issue summary
When requests are made to the jobs API and the user does not have sufficient permissions, the error response returned is mislabeled in certain situations.
What platform services are impacted?
To which tenant does this issue apply?
Community - https://api.agaveplatform.org
What version of the platform are you using?
2.2.*
Steps to recreate the issue
# list the job by id
$ jobs-list 8200243351251422745-242ac114-0001-007
8290233351251422745-242ac114-0001-007 FINISHED
# attempt to resubmit the job
$ jobs-resubmit -v 8200243351251422745-242ac114-0001-007
User does not have permission to view this job
Expected behavior
The response should state that the user does not have permission to submit the job.
Actual behavior
The response states that the user does not have permission to view the job, which they clearly have.
Issue summary
When requests are made to the jobs API and the user does not have sufficient permissions, the error response returned is mislabeled in certain situations.
What platform services are impacted?
To which tenant does this issue apply?
Community - https://api.agaveplatform.org
What version of the platform are you using?
2.2.*
Steps to recreate the issue
Expected behavior
The response should state that the user does not have permission to submit the job.
Actual behavior
The response states that the user does not have permission to view the job, which they clearly have.