graphql-engine/server/test/testcases/create_author_article_permissions.yaml
2018-07-20 13:49:06 +05:30

15 lines
279 B
YAML

description: Create relevant permissions
url: /v1/query
status: 200
query:
type: create_select_permission
args:
table: article
role: user
permission:
columns: '*'
filter:
$or:
- author_id: X-HASURA-USER-ID
- is_published: true