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

Link licences to licence agreements #1098

Merged
merged 5 commits into from
Jun 13, 2024

Conversation

Cruikshanks
Copy link
Member

https://eaflood.atlassian.net/browse/WATER-4512

Part of the work to replace NALD for handling return requirements

We want to be able to offer users the option to generate return requirements from the licence's abstraction data. On the /setup page, they can select this option and the service is expected to generate return requirements using the source abstraction data against the licence. The other options are to copy existing return requirements or set them up manually.

This change is in support of that. We need to get the licence's agreements to inform how we generate the return requirements. But we've spotted that though we have both LicenceModel and LicenceAgreementModel no Objection.js relationship has been added to link them.

https://eaflood.atlassian.net/browse/WATER-4512

> Part of the work to replace NALD for handling return requirements

We want to be able to offer users the option to generate return requirements from the licence's abstraction data. On the `/setup` page they can select this option and the service is expected to generate return requirements using the source abstraction data against the licence. The other options are copy existing return requirements or set them up manually.

This change is in support of that. We need to get the licence's agreements to inform how we generate the return requirements. But we've spotted that though we have both `LicenceModel` and `LicenceAgreementModel` no [Objection.js relationship](https://vincit.github.io/objection.js/guide/relations.html#relations) has been added to link them.
@Cruikshanks Cruikshanks added the enhancement New feature or request label Jun 13, 2024
@Cruikshanks Cruikshanks self-assigned this Jun 13, 2024
@Cruikshanks Cruikshanks marked this pull request as ready for review June 13, 2024 11:36
@Cruikshanks Cruikshanks merged commit fffa22e into main Jun 13, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the link-licence-to-licence-agreements branch June 13, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant