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

Refactor consent requests #2037

Merged
merged 3 commits into from
Feb 27, 2024
Merged

Refactor consent requests #2037

merged 3 commits into from
Feb 27, 2024

Conversation

thomasleese
Copy link
Contributor

This refactors the qualification requests to use a new model, consent requests, and removes the consent fields from the qualification requests. This should make the code easier to understand, and allows us to use the shared requestable services and timeline events for consent requests rather than needing to duplicate the logic each time.

This adds a model for representing a consent request to the applicant
where we need their signed consent before we can send the documents to
Ecctis.
These are being replaced by the consent requests table so we can remove
these fields.
@thomasleese thomasleese requested a review from a team as a code owner February 23, 2024 08:34
@thomasleese thomasleese force-pushed the consent-requests branch 2 times, most recently from b25bcf6 to b7622a0 Compare February 23, 2024 09:13
Copy link
Contributor

@syed87 syed87 left a comment

Choose a reason for hiding this comment

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

looks good to me

This refactors all the code related to qualification requests to use
consent requests where necessary.
@thomasleese thomasleese merged commit 28b0f57 into main Feb 27, 2024
10 checks passed
@thomasleese thomasleese deleted the consent-requests branch February 27, 2024 06:58
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.

2 participants