Skip to content

validateDDO: use policyServer if defined to control access #961

@alexcos20

Description

@alexcos20

Whenever somebody tries to call validateDDO, and the node is configured to use an policyServer, we should check that.

Payload:

{
  "action": "validateDDO",
  "ddo":...,
  "consumerAddress":...   // if exists and signature is valid
}

We should add this after the existing flow (and not before or replace), in such a way that a non valid DDO will not be checked through policyServer, as it is already invalid, and policyServer will always be checked for valid DDOs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions