Closed matbmoser closed 1 month ago
This guide to be released: https://github.com/catenax-ng/tx-digital-product-pass/blob/71f7a5533e0c4fa34d0016121ce254c146f29c81/docs/data-sovereignty/PolicyConfigGuide.md
Contains all the explanation how the policy configuration is done!
Waiting for app to be available in INT
Test passed in INT!
All the points are fulfilled, requesting today the data sovereignty review... The framework agreement was requested in the portal and approved. Also the usage purpose needs to match in the configuration.
Policy configured:
{
"@context": {
"odrl": "http://www.w3.org/ns/odrl/2/",
"cx-policy": "https://w3id.org/catenax/policy/"
},
"@type": "PolicyDefinitionRequest",
"@id": "cx-policy",
"policy": {
"@type": "Policy",
"profile": "cx-policy:profile2405",
"odrl:permission": [
{
"odrl:action": "USE",
"odrl:constraint": {
"@type": "LogicalConstraint",
"odrl:and": [
{
"@type": "Constraint",
"odrl:leftOperand": "cx-policy:Membership",
"odrl:operator": {
"@id": "odrl:eq"
},
"odrl:rightOperand": "active"
},
{
"@type": "Constraint",
"odrl:leftOperand": "cx-policy:FrameworkAgreement",
"odrl:operator": {
"@id": "odrl:eq"
},
"odrl:rightOperand": "circulareconomy:1.0"
},
{
"@type": "Constraint",
"odrl:leftOperand": "cx-policy:UsagePurpose",
"odrl:operator": {
"@id": "odrl:eq"
},
"odrl:rightOperand": "cx.circular.dpp:1"
}
]
}
}
],
"odrl:obligation": [],
"odrl:prohibition": []
}
}
Policy selection modal is enabled:
If user selects a policy which he is not allowed the backend will send this error:
In case is the allowed one it will let it work.
Tested runned and documented.
Data Sovereignty Checks:
We are using EDC: 0.7.0
Policy Configuration Guide: https://github.com/eclipse-tractusx/digital-product-pass/blob/main/docs/data-sovereignty/PolicyConfigGuide.md