Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job permissions denied responses are mislabeled #3

Open
1 of 24 tasks
deardooley opened this issue Nov 15, 2017 · 0 comments
Open
1 of 24 tasks

Job permissions denied responses are mislabeled #3

deardooley opened this issue Nov 15, 2017 · 0 comments

Comments

@deardooley
Copy link

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?

  • Apps
  • Events
  • Files
  • Groups
  • Jobs
  • Logging
  • Metadata
  • Monitors
  • Notifications
  • Templates
  • Postits
  • Profiles
  • Preferences
  • Reactors
  • Realtime
  • Repositories
  • Stats
  • Systems
  • Tags
  • Tenants
  • Transfers
  • Transforms
  • Usage
  • Uuids

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant