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

authorize: allow redirects on deny #2361

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Conversation

calebdoxsey
Copy link
Contributor

@calebdoxsey calebdoxsey commented Jul 13, 2021

Summary

Currently if a policy evaluation results in a deny, we always deny, even if a user isn't logged in. This PR updates the code to treat denies like !allow.

Related issues

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey added the bug Something isn't working label Jul 13, 2021
@calebdoxsey calebdoxsey requested a review from a team as a code owner July 13, 2021 20:54
@calebdoxsey calebdoxsey requested a review from wasaga July 13, 2021 20:54
@codeclimate
Copy link

codeclimate bot commented Jul 13, 2021

Code Climate has analyzed commit 886ef24 and detected 0 issues on this pull request.

View more on Code Climate.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 64.695% when pulling 886ef24 on cdoxsey/1577-denied-access into b4b86dc on master.

@calebdoxsey calebdoxsey merged commit 360aa89 into master Jul 13, 2021
@calebdoxsey calebdoxsey deleted the cdoxsey/1577-denied-access branch July 13, 2021 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants