Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Multi-Tenant] Add tenantId to assets #3033

Open
2 tasks
Tracked by #2893
njlie opened this issue Oct 11, 2024 · 0 comments
Open
2 tasks
Tracked by #2893

[Multi-Tenant] Add tenantId to assets #3033

njlie opened this issue Oct 11, 2024 · 0 comments
Labels
pkg: backend Changes in the backend package.

Comments

@njlie
Copy link
Contributor

njlie commented Oct 11, 2024

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.

  • Require a tenantId to be passed into the assetService.create call
  • Filter any getters on the asset service by tenantId, unless the requester is the operator of the Rafiki instance
@njlie njlie added the pkg: backend Changes in the backend package. label Oct 11, 2024
@njlie njlie mentioned this issue Oct 11, 2024
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: backend Changes in the backend package.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant