graphql-engine/server/tests-py/queries/explain/permissions_query_mysql.yaml

21 lines
438 B
YAML
Raw Normal View History

description: Explain query with permissions
url: /v1/graphql/explain
status: 200
response:
- field: hasura_user
sql: |-
SELECT t_user1.id AS id,"\n "t_user1.name AS name,"\n "t_user1.age AS age"\n"FROM hasura.user AS t_user1
query:
hasura_user:
X-Hasura-Role: user
X-Hasura-User-Id: "1"
query:
query: |
query {
hasura_user{
id
name
age
}
}