graphql-engine/server/tests-py/queries/unauthorized_role/unauthorized_role.yaml

17 lines
228 B
YAML
Raw Normal View History

2020-05-05 22:57:17 +03:00
description: Make request with role header value as admin
url: /v1/graphql
status: 200
headers:
X-Hasura-Role: 'admin'
response:
data:
user:
- id: 3
query:
query: |
query {
user{
id
}
}