-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
Type: EnhancementNew feature or requestNew feature or request
Description
At present, for compute type data sets, access verification for the publisherTrustedAlgorithms parameter allows unrestricted access to the dataset for the published algorithms when the array is empty. This approach needs to be revised to align with our new asset verification philosophy, ensuring access is denied unless explicitly defined.
The proposed changes address both issues listed below and consist of the following:
-
Add a wildcard to represent all DIDs. It can look like the following structure:
{
"did":"*"
} -
Update the node's behavior to perform the following;
- if
publisherTrustedAlgorithmsarray does not exist or is empty, deny access to all algorithms; - if
publisherTrustedAlgorithmsarray contains an object with "did" === "*", allow access to all algorithms - if
publisherTrustedAlgorithmsarray contains a list of objects, allow access only to algorithms with "did" and "filesChecksum" in the list.
- Update the documentation to reflect the changes.
Metadata
Metadata
Assignees
Labels
Type: EnhancementNew feature or requestNew feature or request