mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-22 11:08:20 +00:00
S3: support disabling ACL with none value
This change lets you disable ACL when using S3 by using a configuration value of `none`. This way we maintain backward compatibility with the default setting being `private`. Fixes: #1067
This commit is contained in:
1 parent
f61514edaf
commit
c9f5763a70
4 files changed
+6
-3
No files matched your search
@@ -49,6 +49,8 @@ func NewPublishedStorageRaw(
|
||||
) (*PublishedStorage, error) {
|
||||
if defaultACL == "" {
|
||||
defaultACL = "private"
|
||||
} else if defaultACL == "none" {
|
||||
defaultACL = ""
|
||||
}
|
||||
|
||||
if storageClass == "STANDARD" {
|
||||
|
||||
Reference in new issue
Block a user