Creating a new policy: permitted locations #683
-
Hello,
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Hello, what exactly is meant by "Whenever I modify the backend, the changes don't seem to reflect in the frontend UI"? If the backend is modified and rebuilt, the changes will only be present in the backend. If adjustments are made to the UI and the UI is rebuilt, the changes are visible in the UI. For the interaction between the two, for our UI we use an API wrapper for API calls located in this repo, so changes to the API would have to be made there, for example. What exactly were you trying to change? |
Beta Was this translation helpful? Give feedback.
-
Hi @tmberthold, I am trying to add a new policy to the existing mechanism. Please find below the procedure I followed:
But I see the following when I run docker compose up command:
and
When I checked the log details using "docker logs edc-extensions-edc-1" command, I see the following error:
But I don't see "dataspaceconnector-configuration.properties" and "dataspaceconnector-keystore.jks" files in this repository. So, I am doubting if the procedure I followed is correct or not. Could you please look into this issue? |
Beta Was this translation helpful? Give feedback.
-
Thank you @tmberthold. It is working now. However, I've observed that the 'Connector-Restricted-Usage' policy isn't operating correctly. Whenever I create a contract definition (provider-connector) and include the 'Connector-Restricted-Usage' policy, it's not visible in the consumer-connector catalog browser. Could you please verify if this is an issue? If it is, would you mind investigating further? |
Beta Was this translation helpful? Give feedback.
-
I'm interested in developing a custom policy to verify if the consumer's location is included in a predetermined list of permitted locations. Could you kindly provide me with a basic guide on how to do this? |
Beta Was this translation helpful? Give feedback.
-
Hello @tmberthold, Error: |
Beta Was this translation helpful? Give feedback.
Hi - if you use the dev-variant, the policy you are trying to use is not fully supported there because of the used IAM-Mock. For the technical details on how it works, here is the readme: https://github.com/sovity/edc-extensions/blob/main/extensions/policy-referring-connector/README.md