浏览代码

stackdriver: remove not needed scope

Erik Sundell 7 年之前
父节点
当前提交
89958f2933
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      public/app/plugins/datasource/stackdriver/plugin.json

+ 1 - 4
public/app/plugins/datasource/stackdriver/plugin.json

@@ -28,10 +28,7 @@
       "method": "GET",
       "url": "https://content-monitoring.googleapis.com",
       "jwtTokenAuth": {
-        "scopes": [
-          "https://www.googleapis.com/auth/monitoring.read",
-          "https://www.googleapis.com/auth/cloudplatformprojects.readonly"
-        ],
+        "scopes": ["https://www.googleapis.com/auth/monitoring.read"],
         "params": {
           "token_uri": "{{.JsonData.tokenUri}}",
           "client_email": "{{.JsonData.clientEmail}}",