-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EPIC] S3 multi-tenancy on tmail-backend #1315
Comments
After analyzing the related code that uses the method For the Tmail-backend module:
We will update the interfaces to include an additional argument, such as a Domain or Tenant. For example: And using MailboxSession to bypass Domain value For the James site (classes from james-project module):We will create new classes specifically for Tmail-backend and use Guice to rebind them:
To reduce effort, we will focus on BlobStore for storing body data. For metadata, we can retain the existing logic and continue using a shared default bucket. |
My idea:
|
UploadRepository implementations may be also needed to override |
After the latest discussions on this topic on the james ML, it seems that multi-tenancy might be more suitable for implementing it on tmail-backend side.
Initial topic on james backlog: linagora/james-project#5263
We need to groom and find a solution how to achieve a similar result on Tmail side in a smart way
The text was updated successfully, but these errors were encountered: