-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improve auth interceptor operation handling #6278
Improve auth interceptor operation handling #6278
Conversation
Formatting check succeeded! |
hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/interceptor/auth/OperationRule.java
Show resolved
Hide resolved
This is an interesting fix. Thank you for addressing it. I don't see a change to the behaviour in the So it was like the decision was based on both request and response. And it looks like you made sure the authorization checks happen separately. |
Any update on this? I see 1 test failed in the pipeline, but when I run that test locally it passes. |
…operation_handling
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6278 +/- ##
============================================
+ Coverage 83.54% 83.55% +0.01%
- Complexity 27432 27771 +339
============================================
Files 1707 1738 +31
Lines 106185 107433 +1248
Branches 13397 13488 +91
============================================
+ Hits 88710 89770 +1060
- Misses 11750 11879 +129
- Partials 5725 5784 +59 ☔ View full report in Codecov by Sentry. |
This reverts commit 2b38585.
Apologies - Once this was merged, we saw a few downstream test failures, so I had to back this out while I try to figure out why. Second attempt at merging this will be on #6382 |
Fixes #6258