Skip to content

Add destinationPredefinedAcl to copy and move #1937

@alecmev

Description

@alecmev

Would be nice to be able to do something like:

await tmpFile.copy(dstFile, { destinationPredefinedAcl: 'publicRead' })

Instead of:

await tmpFile.copy(dstFile)
await dstFile.acl.readers.addAllUsers()

This isn't the only option missing, of course, but I'm just reporting my usecase.

Metadata

Metadata

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions