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

Change user search to be OR instead of AND #2190

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

david-a-wheeler
Copy link
Collaborator

The new admin capability for user search is primarily for GDPR requests (and similar). The previous implementation, if provided with both name and email, returned only results that met BOTH criteria (an "AND").

However, for GPDR requests, it's far more convenient to reply all users matching EITHER criteria (an "OR"). We want to ensure that we identify all possible records, even those that only partly match.

This changes user search from "AND" to "OR", to better support GDPR requests and similar.

The new admin capability for user search is primarily for
GDPR requests (and similar). The previous implementation, if
provided with both name and email, returned only results that
met BOTH criteria (an "AND").

However, for GPDR requests, it's far more convenient to reply
all users matching EITHER criteria (an "OR"). We want to ensure
that we identify all possible records, even those that only
partly match.

This changes user search from "AND" to "OR", to better support
GDPR requests and similar.

Signed-off-by: David A. Wheeler <[email protected]>
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.09%. Comparing base (627c879) to head (93d6a40).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2190   +/-   ##
=======================================
  Coverage   98.08%   98.09%           
=======================================
  Files          55       55           
  Lines        2139     2147    +8     
=======================================
+ Hits         2098     2106    +8     
  Misses         41       41           

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

@david-a-wheeler david-a-wheeler merged commit 24f692a into main Nov 27, 2024
9 checks passed
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.

1 participant