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] Tenanted Peers #3129

Open
5 tasks
Tracked by #2893
njlie opened this issue Nov 22, 2024 · 0 comments
Open
5 tasks
Tracked by #2893

[Multi-Tenant] Tenanted Peers #3129

njlie opened this issue Nov 22, 2024 · 0 comments
Assignees
Labels
pkg: backend Changes in the backend package.

Comments

@njlie
Copy link
Contributor

njlie commented Nov 22, 2024

Peers should be tenanted under multi-tenancy.

Todo

  • Add required tenantId foreign key to peers table and backfill existing peers
  • Update peer peerByAddressAndAsset peers query resolvers (operators can view all peers, tenants can only view their own peers)
  • Update createPeer resolver (operators can create peers on behalf of tenants - we should add optional tenantId in the createPeer mutation)
  • Update updatePeer resolver (operators can update any peer, tenants can only update their own peers)
  • Update deletePeer resolver (operators can delete any peer, tenants can only delete their own peers)

Prerequisites

@njlie njlie added the pkg: backend Changes in the backend package. label Nov 22, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Rafiki Nov 22, 2024
@njlie njlie mentioned this issue Nov 22, 2024
41 tasks
@mkurapov mkurapov moved this from Backlog to Todo in Rafiki Dec 6, 2024
@golobitch golobitch added this to the Multi Tenant v1 milestone Dec 20, 2024
@oana-lolea oana-lolea moved this from Todo to In Progress in Rafiki Feb 14, 2025
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: In Progress
Development

No branches or pull requests

3 participants