-
Notifications
You must be signed in to change notification settings - Fork 678
storage: predefined ACL support #177
Copy link
Copy link
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.
Milestone
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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() { ... });