-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: download and get storage files as private #5192
Conversation
…hq/monica into 20210515-private-avatar-documents
Please retry analysis of this Pull-Request directly on SonarCloud. |
…hq/monica into 20210515-private-avatar-documents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A monster of a PR! Awesome job. A few comments.
Kudos, SonarCloud Quality Gate passed! |
🎉 This PR is included in version 3.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This pull request has been automatically locked since there |
This close #987
It allows to store photos, avatars, and document privately in s3, and limit access to the file to the only user who owns it.
In addition, we can leverage the browser cache, which will increase speed view of Monica.
You can opt-out to the feature by setting
FILESYSTEM_DEFAULT_VISIBILITY
to 'public' - it will be 'private' by default.The cache behavior can be change by defining
DEFAULT_CACHE_CONTROL
.