graphql-engine/server/tests-py/queries/graphql_query/bigquery/empty_perms.yaml
2021-10-12 17:59:44 +00:00

22 lines
481 B
YAML

- description: |
Cannot see fields you don't have access to.
url: /v1/graphql
status: 200
headers:
X-Hasura-Role: empty_perms
response:
errors:
- extensions:
path: $.selectionSet.hasura_test_article.selectionSet.id
code: validation-failed
message: "field \"id\" not found in type: 'hasura_test_article'"
query:
query: |
query {
hasura_test_article {
id
title
content
}
}