storage: option.WithScopes has no effect unless it's ScopeFullControl #1756
Labels
api: storage
Issues related to the Cloud Storage API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Client
storage
Environment
any
Code
e.g.
Expected behavior
I expect this to set a read-only scope on client operations. For example, listing a bucket will not return ACLs.
Actual behavior
ACLs are returned.
Additional context
This code appends ScopeFullControl unconditionally, which may override whatever the user provided.
The text was updated successfully, but these errors were encountered: