Replies: 2 comments 3 replies
-
Assets existing and policies are two separate things. It is a design decision allow contract definitions (and policies) to exist before assets for top-down scenarios where the roles of a "data officer" and "asset owner" are independent. Please read up on the concept of asset selectors and the indirection they apply to contract definitions and assets. |
Beta Was this translation helpful? Give feedback.
-
I see a rationale for creating contract definition before assets. But connector also allows creating contract definition before creating a policy. To my own understanding, it is unreasonable to create any contract definition without knowing what the policy would look like. Are there any possible scenerio where we actually need this feature? |
Beta Was this translation helpful? Give feedback.
-
My Question
Here
invalid
means a contract definition referring to assets/policies that does not even exist.It seems connector does not check if assets/policies actually exists, and this could confuse users when they have a typo when creating a contract definition.
Is this feature implemented on purpose? Or it would be better to validate contract definition upon contract definition&assetId&policyId updates?
Beta Was this translation helpful? Give feedback.
All reactions