eclipse-tractusx / digital-product-pass

digital product pass
https://github.com/eclipse-tractusx/digital-product-pass
Apache License 2.0
22 stars 12 forks source link

[ 19º ] - Release/v2.1.0 backend agree: Enabled policy selection and handling of more than one contract in the backend #205

Closed matbmoser closed 6 months ago

matbmoser commented 6 months ago

Why we create this PR?

IMPORTANT: This a functionality that needed to be included in the version v2.0.0 (included in the documentation) from the DPP however was posponed for v2.1.0

Because of data compliance the user needs to be able to "sign" or "agree" the contract and be able to choose which policy he wants to accept.

In case there are more than one policy the application uses to take the first one. However that can cause problems when the Policies contain agreements that can not be fellfield by the user.

What we want to achieve with this PR?

We want to add a "policy selection" feature to the application so that the user can say which policy he wants to choose. We want to allow the backend to handle more than one policy and more contracts for data soverenighty. Allow the frontend to handle the new changes without loosing its functionality.

What is new?

Added

Update

Issues Fixed