-
Notifications
You must be signed in to change notification settings - Fork 355
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
Allow space application supporter to access specific app feature endpoints and app PATCH endpoints #2310
Conversation
- Addition of permission checks for all /apps/:guid/features endpoints. - Addition of tests for the revisions app feature. Co-authored-by: Marc Misoch <marc.misoch@sap.com>
- Ensure that space application supporter cannot update the ssh feature. Co-authored-by: Marc Misoch <marc.misoch@sap.com> Co-authored-by: Andy Paine <andy.paine@engineerbetter.com>
9f01d89
to
d6a44c4
Compare
- Addition of permission checks for changed endpoint. -- Move droplet creation to parent context (describe) for reuse. -- Move event emission test into own context (grouped with similar test). - Group sidecar tests in context. Co-authored-by: Marc Misoch <marc.misoch@sap.com>
d6a44c4
to
4ed0b74
Compare
AcceptanceConfirmed user only has space_application_supporter and organization_user roles:
✅ GET requests
✅ PATCH requests
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes Requested:
It looks like there aren't any docs changes included in this PR. As PATCH /v3/apps/:guid/features/:name
in a half-completed state, it makes sense to leave the new role off of the docs for now, indication should be given on the other endpoints that the space application supporter role has access to them.
Oh, we forgot the docs... With regards to the |
I'm just going based on the spreadsheet that I was handed to do acceptance against, but I'm going to make sure we have someone following up on that particular endpoint. To that end, if we can include documentation that the |
- PATCH /v3/apps/:guid/relationships/current_droplet
@sweinstein22 I've added this missing docs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks @philippthun !
I've confirmed that |
Space Application Supporter can assign current droplet
Space Application Supporter can update the revisions feature
Space Application Supporter can access specific app feature endpoints
Closes #2272
Partly implements #2280
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
branchI have run all the unit tests using
bundle exec rake
I have run CF Acceptance Tests