Skip to content

[Multi-Tenant] Tenanted Quotes #3118

@njlie

Description

@njlie

Quotes should become tenanted as per the Multi-Tenancy design, and will be logically separated in the backend database by a tenantId row that serves as a foreign key on the tenants table.

  • Add tenantId row to quotes table that is required and maps to an id on the tenants table.
  • Add tenantId to database queries on quotes
  • Acquire tenantId from request headers on routes involving quotes and pass them into quote service logic.
  • Include tenantId in path of quote URL. e.g. http://exampe-rafiki/:tenantId/quotes/:id

Prerequisites

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions