mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-05 14:27:59 +03:00
15 lines
279 B
YAML
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
|