GCS: add ACL support

This commit is contained in:
Nicola Murino
2021-11-15 21:57:41 +01:00
parent 52f3a98cc8
commit 24b0352eb6
9 changed files with 40 additions and 3 deletions

View File

@@ -859,6 +859,7 @@ func getGCSConfig(r *http.Request) (vfs.GCSFsConfig, error) {
config.Bucket = r.Form.Get("gcs_bucket")
config.StorageClass = r.Form.Get("gcs_storage_class")
config.ACL = r.Form.Get("gcs_acl")
config.KeyPrefix = r.Form.Get("gcs_key_prefix")
autoCredentials := r.Form.Get("gcs_auto_credentials")
if autoCredentials != "" {