Skip to content

[Multi-Tenant] Tenanted Assets #3033

@njlie

Description

@njlie

Because assets aren't associated with a Wallet Address like Open Payments resources are, it becomes necessary to add a tenantId to them to determine which tenant that asset belongs to.

  • Add required tenantId column to assets table
  • Acquire tenantId from request header and pass into asset service logic during graphql requests
  • Add tenantId to database queries on assets

Prerequisites:

Metadata

Metadata

Assignees

Labels

pkg: backendChanges in the backend package.

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions