FoxComm / highlander

Because there can only be one
MIT License
9 stars 3 forks source link

Finish Multi Tenancy #1998

Open mempko opened 7 years ago

mempko commented 7 years ago

Goal

Support merchants having multiple storefronts for different global regions.

TODO: Insert link to design doc. TODO: Insert links to any use cases.

Do

Dont

High Level Work

The following items need to be blown out.

Known Issues that need fixing.

Data models that need to be scoped.

phoenix

hyperon

jmataya commented 7 years ago

A couple comments based on the work that I've been doing:

The relationship between stock items and scope

stock-item-consumer should lookup stock item location based on scope and assign that to stock in middlewarehouse.

I'm inclined to say that scope is the wrong primitive to use. We can talk more in depth, but the mapping of stock locations to a catalog makes a lot more logical sense in my head, and is in fact something that I'm already taking on.

Scoped Tables

We don't use the following tables - they should be dropped instead of scoped:

Have to jump to a meeting, will send more later...