Skip to content

storage: predefined ACL support #177

@zbryikt

Description

@zbryikt

While using storage api I didn't find any option about predefined acl value. It seems that we need to patch the getWritableStream_ function inside lib/storage/index.js to customize the qs object, like, adding something like "predefinedAcl: option.acl"

This might also need a change to the API to accept an extra option parameter so we can do things like this:

bucket.write(filename, {data: buf, option: {predefinedAcl: 'publicRead'}}, function() { ... });

Metadata

Metadata

Labels

🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions