graphql-engine/server/tests-py/queries/graphql_query/bigquery/empty_perms.yaml
Chris Done 53fc5617cf Feature/bigquery python tests
Co-authored-by: Aniket Deshpande <922486+aniketd@users.noreply.github.com>
GitOrigin-RevId: c425f84f1c9b8e38ebbfa509b6fa9298e023f386
2021-04-22 11:32:55 +00:00

22 lines
466 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_article.selectionSet.id
code: validation-failed
message: "field \"id\" not found in type: 'hasura_article'"
query:
query: |
query {
hasura_article {
id
title
content
}
}