Repository navigation
Document how to create bucket with predefinedAcl #319
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
Description
Activity
More specifically I'd like all the files I upload to have a checkbox on "Shared publicly"
This should definitely be documented better. Bucket objects have a special
yourBucket.acl.defaultobject of functions just likeyourBucket.acl(add, delete, get, and update). Here's how you can do it:yourBucket.acl.default.add({ scope: "allUsers", role: gcloud.storage.acl.READER_ROLE }, function (err) {})
allUserscomes right from the API: https://cloud.google.com/storage/docs/json_api/v1/defaultObjectAccessControls - instead of leaving that an impossible mystery to solve, I'll add that to the docs tomorrow :)Reacted by Alfredo DelgadoWoot! That works! Thanks!
- added a commit that references this issue
on Dec 4, 2014 - added a commit that references this issue
on Dec 4, 2014 - addedapi: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.
on Feb 2, 2015 - added🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.
on Apr 6, 2020 - added a commit that references this issue
on Sep 16, 2022 31 remaining items
- added a commit that references this issue
on Feb 5, 2026 - added a commit that references this issue
on Feb 17, 2026 - added 2 commits that reference this issue
on Feb 24, 2026 - added a commit that references this issue
on Feb 25, 2026 - added a commit that references this issue
on Mar 18, 2026 - added a commit that references this issue
on Mar 27, 2026 - added a commit that references this issue
on May 5, 2026
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.
I've seen #304 and looked at
setMetadataand still haven't figured this out. I'd really just like to set my files to be publically readable but can't seem to figure it out :)