graphql-engine/server/test/testcases/create_user_permission_test_table.yaml
Rakesh Emmadi f72d8de87a fix insert fails for non-admin roles on v1/query (fix #327) (#328)
* fix insert fails for non-admin roles on v1/query, fix #327

* add test case for user role upsert usint constraint name
2018-08-29 19:11:33 +05:30

13 lines
263 B
YAML

description: Create a insert permission on test_table for user role
url: /v1/query
status: 200
query:
type: create_insert_permission
args:
table: test_table
role: user
permission:
check:
id: X-Hasura-User-Id
allow_upsert: true