Skip to content

fix(3527): return 403 when sync webhook but there is no pipeline admins - #681

Open
y-oksaku wants to merge 1 commit into
masterfrom
fix-webhook-response-code
Open

fix(3527): return 403 when sync webhook but there is no pipeline admins#681
y-oksaku wants to merge 1 commit into
masterfrom
fix-webhook-response-code

Conversation

@y-oksaku

Copy link
Copy Markdown
Contributor

Context

When the pipeline has no admins, it rejects the request to sync the webhook.
But the status code is 500.

Objective

Return the status code 403 if the pipeline does not have admins.

References

Issue - screwdriver-cd/screwdriver#3527

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

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

Successfully merging this pull request may close these issues.

1 participant