You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plcplc
changed the title
Attempting to insert with an on_conflict ignore mutation fails without modify permission
Attempting to insert with an on_conflict ignores mutation fails without modify permission
Apr 25, 2022
Version Information
Server Version: 2.2.0
Environment
OSS
What is the expected behaviour?
https://hasura.io/docs/latest/graphql/core/databases/postgres/mutations/upsert.html#ignore-request-on-conflict
I expect that behavior to happen even when the user does not have access to modify the data.
Keywords
ignore insert on_conflict
What is the current behaviour?
Gives the error: "insert_XXX" has no argument named "on_conflict"
How to reproduce the issue?
Give insert, but not modify permission on
author
.Send a mutation query like:
Get the above error.
The text was updated successfully, but these errors were encountered: