Skip to content

Commit

Permalink
Fix authorization handling for Bundle resources in the output (#5953)
Browse files Browse the repository at this point in the history
* Fix authorization handling for Bundle resources in the output. When the Bundle is standalone, authorization should not be checked for resources included in the Bundle.

* Add some more tests to cover more use cases.

* Add more tests. Exclude collection type as it can be returned by a custom operation and it is not a standalone type.

* Address code review comment. Remove unused method.
  • Loading branch information
codeforgreen committed May 28, 2024
1 parent 357802b commit a9815c8
Show file tree
Hide file tree
Showing 5 changed files with 342 additions and 228 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
type: add
issue: 5952
title: "Previously, since hapi-fhir 7.0, when retrieving the consecutive pages of a Bundle resource search operation
using a client with read permissions for Bundle resources, the request would fail with a 403 Forbidden error.
This has been fixed."
Loading

0 comments on commit a9815c8

Please sign in to comment.