mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:13:22 +08:00
97f8f88cfe
When setting the ACL for optimized images after setting the ACL for the linked upload (e.g. via the SyncACLForUploads job), we were using the optimized image path as the S3 key. This worked for single sites, however it would fail silently for multisite sites since the path would be incorrect, because the Discourse.store.upload_path was not included. For example, something like this: somecluster1/optimized/2X/1/3478534853498753984_2_1380x300.png Instead of: somecluster1/uploads/somesite1/2X/1/3478534853498753984_2_1380x300.png The silent failure is still intentional, since we don't want to break other things because of ACL updates, but now we will update the ACL correctly for optimized images on multisite sites. |
||
---|---|---|
.. | ||
distributed_cache_spec.rb | ||
hashtag_autocomplete_service_spec.rb | ||
jobs_spec.rb | ||
pausable_multisite_spec.rb | ||
pausable_spec.rb | ||
post_spec.rb | ||
request_tracker_spec.rb | ||
s3_store_spec.rb | ||
site_settings_spec.rb |