Policies like odrl:obtainConsent
/ remote policy evaluation
#4460
-
Hi, I have some use cases where external parties need to approve negotiations or transfers. This can be expressed in a policy with I implemented this using the
"action": "use",
"duty": [{
"action": [{
"rdf:value": { "@id": "odrl:obtainConsent" }
}],
"consentingParty": ["http://example.com/person/sara"]
"constraint": [{
"leftOperand": "event",
"operator": "lt",
"rightOperand": { "@id": "odrl:policyUsage" }
}]
}] there can be this
Thanks for the extensibility of the connector, once I got the hang of it, developing went pretty smooth! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, The link you highlighted refers to an old IDSA dataspace document not associated with the Dataspace Protocol Specification. The Implementing a Regarding point 2, it is difficult to understand the sequence. If you think it is a bug, please file an issue with precise steps to reproduce, preferably a JUnit testcase using the EDC JUnit runner. |
Beta Was this translation helpful? Give feedback.
-
@jimmarino thanks for the info on the ODRL (sorry for the late reply, was on vacation). I'm indeed using the When I find the time I'll have another look at my point 2. Think it's just that in the current flow a transfer is only expected to be terminated when it's already started on the provider side, while with my manual flow, I sometimes terminate it from |
Beta Was this translation helpful? Give feedback.
Hi,
The link you highlighted refers to an old IDSA dataspace document not associated with the Dataspace Protocol Specification. The
consentingParty
is a function property not defined in the core ODRL data model but as a vocabulary. ODRL does not mandate support for function properties outside asignee and assigner. DSP also profiles ODRL, adding further restrictions. Open-ended function properties are not something we would likely support. That said, a similar behavior can be modeled by defining an explicit constraint. The constrain can be included on the contract policy or access policy (if approval should not be advertised).Implementing a
ContractNegotiationPendingGuard
is the preferred…