wiretrack
08/24/2021, 8:50 PMtenant
field in the database, but could find a way to make the UI tenant specific, neither to register the flow for a specific tenant. Any ideas?nicholas
tenant
field is a convention only; the UI normally relies on implicit database sharding to filter views instead of adding an explicit tenant_id
filter to every requestnicholas
wiretrack
08/24/2021, 9:14 PMregister()
method in the Flow
class instantiates a client
object, which accepts tenant_id
as a parameter. So, excluding the authentication (security) aspect of it, it shouldn’t be a dramatic change to add tenant_id
as a parameter for the register
method, and allow for multitenancy. Maybe the UI would need an extra layer to allow to change tenants, but could also have just a tenant_id
identifier. Far from production ready in the sense of security, but could be a great alternative for separation of concerns.wiretrack
08/24/2021, 9:15 PMserver
repo to allow multi tenancy, I would be happy to contribute as well, both for the server and the UIwiretrack
08/24/2021, 9:16 PMwiretrack
08/24/2021, 9:18 PMnicholas