about summary refs log tree commit diff
path: root/tools/nixery/server/storage/gcs.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-28T19·04+0100
committerVincent Ambo <github@tazj.in>2019-10-28T21·31+0100
commitab190256ab3118af146a65787965e04e06ccfaa1 (patch)
tree116f123b1f24eca313a453093ba91ee915a1c6bb /tools/nixery/server/storage/gcs.go
parent3611baf040f19e234b81309822ac63723690a51d (diff)
fix(server): Use correct scope for GCS tokens
Diffstat (limited to 'tools/nixery/server/storage/gcs.go')
-rw-r--r--tools/nixery/server/storage/gcs.go2
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