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 _security label filtering with :not operator in the in-memory matcher #6691

Open
wants to merge 7 commits into
base: rel_8_0
Choose a base branch
from

Conversation

nathandoef
Copy link
Collaborator

@nathandoef nathandoef commented Feb 7, 2025

Previously, when the in-memory matcher was used to match resources with a _security label filter
and a :not operator (i.e. _security:not=http://terminology.hl7.org/CodeSystem/v3-ActCode|NODSCLCD), resources with no security labels at all were not matched. This has been fixed.

Copy link

github-actions bot commented Feb 7, 2025

Formatting check succeeded!

@nathandoef nathandoef changed the title Fix :not filtering in the authorization interceptor Fix :not operator on _security filtering Feb 8, 2025
@nathandoef nathandoef linked an issue Feb 8, 2025 that may be closed by this pull request
@nathandoef nathandoef changed the title Fix :not operator on _security filtering Fix _security label filtering with :not operator in the in-memory matcher Feb 8, 2025
Copy link

codecov bot commented Feb 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (rel_8_0@ebb016f). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             rel_8_0    #6691   +/-   ##
==========================================
  Coverage           ?   83.52%           
  Complexity         ?    28606           
==========================================
  Files              ?     1798           
  Lines              ?   111311           
  Branches           ?    13979           
==========================================
  Hits               ?    92975           
  Misses             ?    12347           
  Partials           ?     5989           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_security label filter with :not operator behaving incorrectly
1 participant