diff options
author | Vincent Ambo <tazjin@google.com> | 2019-10-28T19·04+0100 |
---|---|---|
committer | Vincent Ambo <github@tazj.in> | 2019-10-28T21·31+0100 |
commit | ab190256ab3118af146a65787965e04e06ccfaa1 (patch) | |
tree | 116f123b1f24eca313a453093ba91ee915a1c6bb /tools/nixery/server | |
parent | 3611baf040f19e234b81309822ac63723690a51d (diff) |
fix(server): Use correct scope for GCS tokens
Diffstat (limited to 'tools/nixery/server')
-rw-r--r-- | tools/nixery/server/storage/gcs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nixery/server/storage/gcs.go b/tools/nixery/server/storage/gcs.go index b9d70ef20488..5cb673c15162 100644 --- a/tools/nixery/server/storage/gcs.go +++ b/tools/nixery/server/storage/gcs.go @@ -20,7 +20,7 @@ import ( var client = &http.Client{} // API scope needed for renaming objects in GCS -const gcsScope = "https://www.googleapis.com/auth/devstorage" +const gcsScope = "https://www.googleapis.com/auth/devstorage.read_write" type GCSBackend struct { bucket string |