graphql-engine/server/tests-py/queries/graphql_query/bigquery/empty_perms.yaml
Kirill Zaborsky 960cf2d954 Use 'hasura' as dataset in python test to unify it with hspec
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3636
GitOrigin-RevId: f4114fded09cbdd9875488610c635537478e4ab5
2022-02-14 06:23:07 +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
}
}