Datastore REST API访问权限丢失或不足

时间:2017-07-24 19:49:58

标签: google-cloud-datastore google-apis-explorer

我在数据存储区中手动创建了实体,并尝试从测试页https://cloud.google.com/datastore/docs/reference/rest/v1/projects/runQuery访问它。 它适用于我自己并返回正确的实体,但对于其他用户,它返回错误:

{
    "error": {
        "code": 403,
        "message": "Missing or insufficient permissions.",
        "status": "PERMISSION_DENIED",
        "details": [
                {
                    "@type": "type.googleapis.com/google.rpc.DebugInfo",
                    "detail": "/Datastore.RunQuery to [2002:a17:908:2348::]:4133 : APP_ERROR(6) Missing or insufficient permissions."
 }
 ]
 }
} 

如何向其他用户授予权限?

0 个答案:

没有答案