-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
a/authzIssues related to "authorization" and the policy engine after session claims are procesedIssues related to "authorization" and the policy engine after session claims are procesedds-tenk/bugSomething isn't workingSomething isn't working
Description
Version Information
Server Version: 2.2.0
Environment
OSS
What is the expected behaviour?
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:
mutation upsert_author {
insert_author(
objects: [
{ name: "John" }
],
on_conflict: {
constraint: author_name_key,
update_columns: []
}
) {
affected_rows
}
}
Get the above error.
Metadata
Metadata
Assignees
Labels
a/authzIssues related to "authorization" and the policy engine after session claims are procesedIssues related to "authorization" and the policy engine after session claims are procesedds-tenk/bugSomething isn't workingSomething isn't working