Skip to content

[#3457] Filter eHerkenning zaken by KVK and vestigingsnummer#1936

Open
pi-sigma wants to merge 1 commit intodevelopfrom
story/3457-kvk-filtering
Open

[#3457] Filter eHerkenning zaken by KVK and vestigingsnummer#1936
pi-sigma wants to merge 1 commit intodevelopfrom
story/3457-kvk-filtering

Conversation

@pi-sigma
Copy link
Contributor

@pi-sigma pi-sigma commented Sep 23, 2025

Zaken for eHerkenning users logged in as vestiging are now filtered by KVK as well as vestigingsnummer. The filtering is done client-side as the eSuite does not have a query parameter for this purpose.

Taiga: https://taiga.maykinmedia.nl/project/open-inwoner/us/3457

@pi-sigma pi-sigma force-pushed the story/3457-kvk-filtering branch from 52e3e31 to 6e396f0 Compare September 23, 2025 10:09
@codecov-commenter
Copy link

codecov-commenter commented Sep 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.99%. Comparing base (8801d21) to head (7264a44).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1936   +/-   ##
========================================
  Coverage    93.99%   93.99%           
========================================
  Files         1154     1154           
  Lines        44374    44414   +40     
========================================
+ Hits         41708    41748   +40     
  Misses        2666     2666           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Zaken for eHerkenning users logged in as vestiging are now filtered by KVK
as well as vestigingsnummer. The filtering is done client-side as the
eSuite does not have a query parameter for this purpose.

For contactmomenten/questions, this filtering only works for OpenKlant
but not for eSuite as the latter does not support scoping of identifiers
(i.e. looking for a vestigingsnummer that's related to a KVK).

Refs: https://taiga.maykinmedia.nl/project/open-inwoner/us/3457
@pi-sigma pi-sigma force-pushed the story/3457-kvk-filtering branch from 6e396f0 to 7264a44 Compare September 23, 2025 14:49
@pi-sigma pi-sigma marked this pull request as ready for review September 23, 2025 15:54
@pi-sigma pi-sigma requested a review from swrichards September 23, 2025 15:54
Copy link
Collaborator

@swrichards swrichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will await a new review request as we test the eSuite behavior as discussed.

)

raise ValueError("You must supply either a bsn or kvk/rsin/vestigingsnummer")
# return intesection of zaken for kvk and zaken for vestiging
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# return intesection of zaken for kvk and zaken for vestiging
# return intersection of zaken for kvk and zaken for vestiging

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.

3 participants