Conversation
dsubak
added this pull request to stack #3970
September 16, 2026 15:38
OpenAPI ChangesShow/hide changesUnexpected changes? Ensure your branch is up-to-date with |
dsubak
marked this pull request as ready for review
September 16, 2026 17:59
dsubak
force-pushed
the
dansubak/202609_add_data_consent_api
branch
from
September 17, 2026 18:45
bb768c9 to
befe9fd
Compare
dsubak
force-pushed
the
dansubak/202609_add_data_consent_api
branch
from
September 17, 2026 20:44
befe9fd to
2ec8728
Compare
dsubak
force-pushed
the
dansubak/202609_add_data_consent_api
branch
4 times, most recently
from
September 23, 2026 13:51
ec7b434 to
596614d
Compare
dsubak
force-pushed
the
dansubak/202609_add_data_consent_api
branch
from
September 23, 2026 21:13
596614d to
641548a
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What are the relevant tickets?
https://github.com/mitodl/hq/issues/13277
Description (What does it do?)
Adds the simplest possible API for tracking user data sharing consent on a per-contract basis. It is simply an API which takes a consent value for a given contract and records that for the authenticated user. We may need more complicated logic at some point, but that remains to be seen at present.
How can this be tested?
b2b_userb2bcontractrecord in the database should now have a value populated forconsented_to_data_sharingandconsent_modified_atcorresponding to your input.