Eric Gross
05/17/2023, 8:30 PMChris Todorov
05/17/2023, 9:09 PMChris Todorov
05/17/2023, 9:14 PMChris Todorov
05/17/2023, 9:16 PMEric Gross
05/17/2023, 11:23 PMEric Gross
05/17/2023, 11:38 PMbenmorganio
05/17/2023, 11:44 PMEric Gross
05/17/2023, 11:44 PMEric Gross
05/17/2023, 11:45 PMbenmorganio
05/17/2023, 11:45 PMEric Gross
05/17/2023, 11:46 PMEric Gross
05/17/2023, 11:48 PMbenmorganio
05/17/2023, 11:51 PMChris Todorov
05/17/2023, 11:58 PMEric Gross
05/17/2023, 11:58 PMbenmorganio
05/17/2023, 11:59 PMPresumably you are going to have to modify the Solidus controllers to provide the tenant id to any AR calls that create recordsCould be done through the api key in a header if doing API.
Chris Todorov
05/18/2023, 12:00 AMEric Gross
05/18/2023, 12:00 AMEric Gross
05/18/2023, 12:00 AMEric Gross
05/18/2023, 12:01 AMChris Todorov
05/18/2023, 12:01 AMApplicationRecord
class and your ApplicationController
Chris Todorov
05/18/2023, 12:03 AM*_params
method you would need to override that to include the tenant id from the session etc.Chris Todorov
05/18/2023, 12:05 AMEric Gross
05/18/2023, 12:05 AMChris Todorov
05/18/2023, 12:07 AMResourceController
so that would be something you can override with your logicbenmorganio
05/18/2023, 12:07 AMorder.complete
for instance.benmorganio
05/18/2023, 12:07 AMbenmorganio
05/18/2023, 12:09 AMEric Gross
05/18/2023, 12:10 AMbenmorganio
05/18/2023, 12:15 AMEric Gross
05/18/2023, 12:17 AMEric Gross
05/18/2023, 12:19 AMChris Todorov
05/18/2023, 12:23 AM_params
in the backend controllers and basically you would want to decorate those methods to append your new tenant id. If we had a consistent naming convention this could potentially be easier to do, but also it may not be the right behaviour in every single case.Eric Gross
05/18/2023, 12:33 AMChris Todorov
05/18/2023, 12:45 AMEric Gross
05/18/2023, 1:03 AMEric Gross
05/18/2023, 5:41 PMbenmorganio
05/18/2023, 5:43 PMEric Gross
05/20/2023, 11:08 PMEric Gross
05/20/2023, 11:08 PMbenmorganio
05/20/2023, 11:14 PMbenmorganio
05/20/2023, 11:15 PMEric Gross
05/20/2023, 11:19 PMbenmorganio
05/20/2023, 11:22 PMbenmorganio
05/20/2023, 11:23 PMbenmorganio
05/20/2023, 11:23 PMbenmorganio
05/20/2023, 11:23 PMbenmorganio
05/20/2023, 11:26 PMbenmorganio
05/20/2023, 11:26 PMbenmorganio
05/20/2023, 11:27 PMEric Gross
05/21/2023, 12:12 AMEric Gross
05/21/2023, 12:13 AMEric Gross
05/21/2023, 12:21 AMEric Gross
05/21/2023, 12:23 AMChris Todorov
05/23/2023, 5:37 PM