Skip to content

Multi-Tenant Isolation & Workspace RBAC #393

@Cedarich

Description

@Cedarich

Labels: backend, security, product, wave4
Complexity: 200 points
Branch: feat/be-multi-tenant

Summary
Introduce logical isolation between different organizations or workspaces so that users can belong to multiple teams without data leakage.
Tasks

  • Implement organization_id on all core entities (links, transactions, keys, webhooks).
  • Add workspace context to all API requests and middleware.
  • Implement Role-Based Access Control (Admin, Member, Read-Only) per organization.
  • Add organization switching and invite management endpoints.
    Acceptance Criteria
  • Users cannot access data from organizations they don't belong to.
  • API keys are scoped to a specific organization.
  • Invites and role changes are reflected immediately in access checks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions