From 14df58604fc9e06be397f388010c6eb8d5e28775 Mon Sep 17 00:00:00 2001 From: Maria Carmina Date: Tue, 3 Oct 2023 18:23:30 +0300 Subject: [PATCH] Commented cond in ImputValidator class. --- ocean_provider/validation/algo.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ocean_provider/validation/algo.py b/ocean_provider/validation/algo.py index 2bbc32fc..02a6318d 100644 --- a/ocean_provider/validation/algo.py +++ b/ocean_provider/validation/algo.py @@ -426,14 +426,14 @@ def validate(self): self.message = message return False - code = AddressCredential(self.asset).validate_access( - {"type": "address", "value": self.consumer_address} - ) - - if code != ConsumableCodes.OK: - self.resource += ".credentials" - self.message = "restricted_access_for_algo" - return False + # code = AddressCredential(self.asset).validate_access( + # {"type": "address", "value": self.consumer_address} + # ) + # + # if code != ConsumableCodes.OK: + # self.resource += ".credentials" + # self.message = "restricted_access_for_algo" + # return False if self.service.type not in ["access", "compute"]: self.resource += ".serviceId"