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

fix: try to better manage internal server error when user not granted + CI with CircleCI #2

Merged
merged 7 commits into from
Jul 18, 2024

Conversation

ylascombe
Copy link

Description

When user not belong to expected github team, the new behavior since upgrade is to return a 500 error "internal server error". The previous behavior, and expected one is to reach a 403 "permission denied"

Motivation and Context

How Has This Been Tested?

Checklist:

  • My change requires a change to the documentation or CHANGELOG.
  • I have updated the documentation/CHANGELOG accordingly.
  • I have created a feature (non-master) branch for my PR.
  • I have written tests for my code changes.

@github-actions github-actions bot added the go label Jul 18, 2024
@ylascombe ylascombe force-pushed the INFRABUILD-3482_fix_internal_server_error branch from 549c4a3 to 8a27d93 Compare July 18, 2024 13:22
oauthproxy.go Outdated Show resolved Hide resolved
@ylascombe ylascombe changed the title fix: try to better manage internal server error when user not granted fix: try to better manage internal server error when user not granted + CI with CircleCI Jul 18, 2024
@ylascombe ylascombe merged commit 682f1d2 into master Jul 18, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants