graphql-engine/server/tests-py/queries/actions/metadata/recreate_permission.yaml
Rakesh Emmadi e983b1596e
fix recreating action's permission, fix #4377 (#4495)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-04-22 11:29:14 +05:30

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