graphql-engine/server/tests-py/queries/actions/metadata/recreate_permission.yaml

33 lines
662 B
YAML
Raw Normal View History

# 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