hapi-fhir icon indicating copy to clipboard operation
hapi-fhir copied to clipboard

[Bug] HAPI RuleBuilder ignoring filter on second matching permissions

Open JasonRoberts-smile opened this issue 2 years ago • 1 comments

Issue

Currently, the RuleBuilder is ignoring filters on matching permissions.

Eg. FHIR_READ_ALL_IN_COMPARTMENT/Patient/lob1patient?code=foo and FHIR_READ_ALL_IN_COMPARTMENT/Patient/lob2patient?code=bar get merged into one and RuleBuilder just ignores the second filter.

Use Case

For multi-lob we need redaction to happen per lob i.e. filter should work for multiple permissions.

JasonRoberts-smile avatar Aug 13 '22 00:08 JasonRoberts-smile

See https://github.com/hapifhir/hapi-fhir/pull/3916

fil512 avatar Aug 13 '22 01:08 fil512