这是indexloc提供的服务,不要输入任何密码
Skip to content

delete mutations ignore where statements when not using X-Hasura-Access-Key #701

@patcito

Description

@patcito

When I do the following query:

mutation {
  delete_Skill(where: {CompanyId: {_eq: 1}}){
    affected_rows
  }
}

It works as expected when using X-Hasura-Access-Key, but when I use my x-access-token header with webhook, it ignores the CompanyId param and delete all rows in the table. I've tested it in console and the same thing happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/consoleRelated to consolec/serverRelated to serverk/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions