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.
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
organization_idon all core entities (links, transactions, keys, webhooks).Acceptance Criteria