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

Ensure that space application supporter can access GET /v3/jobs/:guid #2316

Conversation

philippthun
Copy link
Member

  • Add tests that check permissions.
  • Adjust documentation; "All Roles" are permitted.

Closes #2224.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

- Add tests that check permissions.
- Adjust documentation; "All Roles" are permitted.
@sweinstein22 sweinstein22 added the space-application-supporter https://github.com/cloudfoundry/cfar-proposals/issues/22 label Jun 7, 2021
Copy link
Contributor

@monamohebbi monamohebbi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't deploy this change since it looks like it's just a change to documentation and testing.

Copy link
Contributor

@sweinstein22 sweinstein22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran /v3/jobs/:guid against an environment with the latest CAPI as both a space dev and a space application supporter just to confirm output looked the same without any implementation changes. Confirmed that diff was empty, and manually checked that output looked correct.

$ diff space-app-supporter-job-guid space-dev-job-guid

Code changes and docs changes look good, thanks for the PR!

@sweinstein22 sweinstein22 merged commit 79d49fb into cloudfoundry:main Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
space-application-supporter https://github.com/cloudfoundry/cfar-proposals/issues/22
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow space application supporter to access specific job endpoints.
4 participants