Update isPublic() to include allAuthenticatedUsers #808
Labels
api: storage
Issues related to the googleapis/nodejs-storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Introduced in #708. The method helps developers understand if a given object is publicly accessible.
One case that was not covered in the PR was authenticated access to public objects. IAM has the identifier
allAuthenticatedUsers
with the following capability(doc):isPublic() should make a HEAD request using client credentials as well. This effectively requires two separate requests.
The text was updated successfully, but these errors were encountered: