mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
e983b1596e
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
33 lines
662 B
YAML
33 lines
662 B
YAML
# For https://github.com/hasura/graphql-engine/issues/4377
|
|
- description: Create permission for action
|
|
url: /v1/query
|
|
status: 200
|
|
response:
|
|
message: success
|
|
query:
|
|
type: create_action_permission
|
|
args:
|
|
action: create_user
|
|
role: user
|
|
- description: Drop the permission
|
|
url: /v1/query
|
|
status: 200
|
|
response:
|
|
message: success
|
|
query:
|
|
type: drop_action_permission
|
|
args:
|
|
action: create_user
|
|
role: user
|
|
|
|
- description: Recreate action permission
|
|
url: /v1/query
|
|
status: 200
|
|
response:
|
|
message: success
|
|
query:
|
|
type: create_action_permission
|
|
args:
|
|
action: create_user
|
|
role: user
|