Skip to content

Unnecessary headers expected #3659

Closed
Closed
@webdeb

Description

@webdeb

Imagine email-subscriptions permissions for an anonymous-role are set to this:

(simplified)

  insert: {}
  update: { secret: "x-hasura-secret"} (got-from-email)

By requiring x-hasura-secret in update, I get an error, when trying to insert, which should't require the x-hasura-secret header.

"x-hasura-secret" header is expected but not found

Is this a bug, or a feature?
Thanks

Metadata

Metadata

Assignees

Labels

c/serverRelated to serverk/bugSomething isn't workingp/highcandidate for being included in the upcoming sprints/wipStatus: This issue is a work in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions