-
Notifications
You must be signed in to change notification settings - Fork 72
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
endpoint to retrieve privacy notices by data use #2956
Conversation
Passing run #1231 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2956 +/- ##
==========================================
+ Coverage 86.90% 86.92% +0.01%
==========================================
Files 303 303
Lines 17298 17322 +24
Branches 2223 2230 +7
==========================================
+ Hits 15033 15057 +24
Misses 1849 1849
Partials 416 416
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, Adam. Endpoint is very clear and well documented. My main question is around data use hierarchies -
a6d833e
to
d752110
Compare
6f37192
to
a309696
Compare
OK @pattisdr i think this one is also just about good to go, but no big rush on it! there's a codecov miss i'm not too concerned about, although i'll try to circle back to it to provide some targeted tests on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a slightly different interpretation here, wanted to see what you thought -
0997d27
to
9b63264
Compare
@pattisdr i think this is ready for another look when you get a chance. i've taken your suggestion on the behavior for hierarchical overlaps - let me know if that looks correct to you! (codecov still "fails" but doesn't even give me a concrete miss! 😒 ) |
looking now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks solid @adamsachs great code comments as usual.
9b63264
to
4d42e5b
Compare
…int. Also include an additional privacy notice in sample creationt call to have one that is actually applicable to a system
this is needed to determine that a notice whose data use is the parent of a data use associated with a system is applicable to that system.
4d42e5b
to
99cc638
Compare
Partially closes #2834 (1 of 2 required endpoints)
Code Changes
GET /api/v1/privacy-notice-by-data-use
endpoint that returns a map ofDataUse
s with their correspondingPrivacyNotice
sDataUse
s that are associated with aSystem
are included in the map.DataUse
s that do not have anyPrivacyNotice
associated with them are includedin the map, with empty lists.
Steps to Confirm
System
s with privacy declarations (easiest to do thru the UI)PrivacyNotice
s that haveDataUse
s that overlap with the privacy declarations of yourSystem
s (must be manualPOST /api/v1/privacy-notice
API calls for now)GET /api/v1/privacy-notice-by-data-use
endpoint, and ensure the result looks as expectedPre-Merge Checklist
CHANGELOG.md