mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 01:44:03 +03:00
f72d8de87a
* fix insert fails for non-admin roles on v1/query, fix #327 * add test case for user role upsert usint constraint name
13 lines
263 B
YAML
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
|