Enabling Consumer Write/Edit Access on Provider's Data Plane #4651
-
Hi EDC Community, I’m new to EDC and exploring a use case where a consumer participant wishes to add or modify data on a provider’s data plane after a successful contract negotiation. Reading the documentation, I see only mentioned the "PUSH" / "PULL" types but these only talk about data leaving the Provider and transferring over to a Consumer. More specifically: Is it feasible to allow a consumer (say, after a successful contract negotiation) to have write/edit permissions on the provider's data? If so, has anyone implemented this, are there recommended approaches or examples of handling such operations? I’m guessing that extending the data plane to support write operations and ensuring the control plane manages the contracts to enforce proper authentication and authorization is the main bit of work. Any advice, pointers to discussions, or similar use cases would be greatly appreciated. Thanks in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, Data sharing involves the transfer of data from a provider to a consumer. It doesn't mean data is "shared in place" so it does not make any sense for a consumer to modify data on the provider. Data can be transferred (copied) and modified by the consumer. This is all extensively covered in the documentation. |
Beta Was this translation helpful? Give feedback.
-
Hi @jimmarino, Thanks for your quick response - I appreciate it 👍 I see what you're saying regarding the data being transferred (copied) from Provider->Consumer (unidirectional transfer of data). I'd appreciate a bit more clarification though. I came across the section in the documentation that describes how providers can expose a REST API for “Http-PULL” transfers. It seems like the same approach could, in theory, allow for other RESTful operations (like POST or PATCH). Is there anything in the EDC’s design philosophy or architecture that explicitly discourages this? Or is it just that this kind of use case hasn’t been a focus so far? Here’s an example of what I’m imagining: Say there’s an asset described at /assets/1, with metadata like this:
If the consumer wanted to update the description property, they’d typically send a PATCH request to /assets/1. This kind of write operation obviously falls outside the default data-sharing model of transferring data from provider to consumer, but I was wondering:
I'm trying to understand if this would be feasible, and if not, is it a philosophical constraint or a technical one. Thanks again :) |
Beta Was this translation helpful? Give feedback.
Hi,
Data sharing involves the transfer of data from a provider to a consumer. It doesn't mean data is "shared in place" so it does not make any sense for a consumer to modify data on the provider. Data can be transferred (copied) and modified by the consumer.
This is all extensively covered in the documentation.