mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Reduced OAuth scope to read_write
This commit is contained in:
committed by
bergquist
parent
fcdf282090
commit
7e3c9fcc1c
@@ -39,7 +39,7 @@ func (u *GCSUploader) Upload(imageDiskPath string) (string, error) {
|
||||
|
||||
log.Debug("Creating JWT conf")
|
||||
|
||||
conf, err := google.JWTConfigFromJSON(data, "https://www.googleapis.com/auth/devstorage.full_control")
|
||||
conf, err := google.JWTConfigFromJSON(data, "https://www.googleapis.com/auth/devstorage.read_write")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
Reference in New Issue
Block a user