插入 table 的 Hasura 权限被拒绝
Hasura permission denied for table on insert
我正在尝试在 Hasura 的 UI 中插入 table。即使我在 api-explorer.
中执行查询,我的权限也被拒绝
"error": {
"exec_status": "FatalError",
"hint": null,
"message": "permission denied for table players",
"status_code": "42501",
"description": null
},
我的插入突变:
mutation insert_players($objects: [players_insert_input!]!) {
insert_players(objects: $objects, on_conflict: {
constraint: players_pkey,
update_columns: [
...
accelRating
age
...
]
}) {
returning {
id
}
}
}
Heroku 行数限制已达到爱好开发计划。这可以在 heroku postgres add-on.
上查看
有关详细信息,请参阅此答案:
Heroku PG: Recover Write access revoked
我正在尝试在 Hasura 的 UI 中插入 table。即使我在 api-explorer.
中执行查询,我的权限也被拒绝 "error": {
"exec_status": "FatalError",
"hint": null,
"message": "permission denied for table players",
"status_code": "42501",
"description": null
},
我的插入突变:
mutation insert_players($objects: [players_insert_input!]!) {
insert_players(objects: $objects, on_conflict: {
constraint: players_pkey,
update_columns: [
...
accelRating
age
...
]
}) {
returning {
id
}
}
}
Heroku 行数限制已达到爱好开发计划。这可以在 heroku postgres add-on.
上查看有关详细信息,请参阅此答案: Heroku PG: Recover Write access revoked