agera-edc / MinimumViableDataspace

Guidance on documentation, scripts and integration steps on using the EDC project results
Apache License 2.0
0 stars 2 forks source link

Access Policy Examples #120

Closed zeier closed 2 years ago

zeier commented 2 years ago

Feature agera-edc/MinimumViableDataspaceFork#100 After agera-edc/MinimumViableDataspaceOld#57, agera-edc/MinimumViableDataspaceFork#95. agera-edc/MinimumViableDataspaceFork#77

Description

As a dataspace participant I want to have my policies enforced to ensure that my assets are only used for the intended purpose.

The following policies shall be supported (Update supported policy list after spike agera-edc/MinimumViableDataspaceOld#57):

Note: this story only covers a small selection of policies that can to some degree be technically enforced and are already supported by the EDC. Subsequent work on policies will be covered by dedicated feature agera-edc/MinimumViableDataspaceFork#100.

Acceptance Criteria

Tasks

algattik commented 2 years ago

Ben shared the following code he built (and validated) to implement a sample policy:

https://github.com/bscholtes1A/edc-showcase/blob/edc-sandbox-1a/extensions/dataseeding/catalog/src/main/java/org/eclipse/dataspaceconnector/dataseeding/catalog/CatalogDataseedingExtension.java

https://github.com/bscholtes1A/edc-showcase/blob/edc-sandbox-1a/extensions/dataseeding/catalog/src/main/java/org/eclipse/dataspaceconnector/dataseeding/catalog/policy/AbsSpatialPositionConstraintFunction.java

cpeeyush commented 2 years ago

As EDC doesn't have support for all listed policy requirements here. Should we first create a separate EDC implementation issue in its repo and then take this one from MVD UI/documentation perspective?

zeier commented 2 years ago

@cpeeyush Let's start with policies that are already supported and adapt the description of this story accordingly. We will then add support for additional policies as part of feature agera-edc/MinimumViableDataspaceFork#100. The goal for this story will be to figure out which policies are already supported and create examples for them.

zeier commented 2 years ago

Putting this story on hold, as adding additional policies are currently not a priority.