gitlab-org--gitlab-foss/changelogs/unreleased/s3-directories-get.yml
Jan Provaznik 2bfc317492 Use directories.new when getting S3 directory
Calling `Fog::Storage::AWS::Directories#get` requires the
ListAllMyBuckets permission, but we can avoid that extra query and
permission by initializing the directory with a specific bucket:
https://stackoverflow.com/a/12288581/1992201
2018-12-27 11:06:06 +01:00

6 lines
170 B
YAML

---
title: Allow 'rake gitlab:cleanup:remote_upload_files' to read bucket files without
having permissions to see all buckets.
merge_request: 23981
author:
type: fixed