Closed alexcos20 closed 3 years ago
In order to support credentials based access, we are going to add the following attribute to DDO (as a root object)
"credentials":{ "allow":[ { "type":"address", "values":[ "0x123", "0x456" ] } ] }, "deny":[ { "type":"address", "values":[ "0x2222", "0x333" ] } ] }
where:
For future usage, we can extend that with different credentials types. Example:
{ "type":"credential3Box", "values":[ "profile1", "profile2" ] }
All conditions are OR based
Action list:
OEP already updated in https://github.com/oceanprotocol/OEPs/tree/master/7/v0.3#credentials
this is done, we can close it
In order to support credentials based access, we are going to add the following attribute to DDO (as a root object)
where:
For future usage, we can extend that with different credentials types. Example:
All conditions are OR based
Action list: