Skip to content

Conversation

@alexcos20
Copy link
Member

@alexcos20 alexcos20 commented Jan 8, 2026

Fixes #804

Changes proposed in this PR:

Refactor credential handling and access list checks

  • Updated config.json to set lists to null instead of empty arrays for better clarity.
  • Bumped @oceanprotocol/ddo-js version from 0.1.4 to 0.2.0 in package.json and package-lock.json.
  • Modified OceanNodeStatus interface to use a structured object for allowedAdmins.
  • Introduced checkAddressOnAccessList utility for validating access list credentials.
  • Refactored credential checking logic in checkCredentials to support blockchain checks.
  • Updated code to utilize the new credential checking methods, enhancing access control mechanisms.
  • Use proper accessLists ( "chainId":[contracts]) for compute

@alexcos20 alexcos20 marked this pull request as ready for review January 8, 2026 16:08
@alexcos20 alexcos20 self-assigned this Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Credentials: Define how rules are applied (match all or match any)

2 participants