mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 01:44:03 +03:00
113 lines
2.3 KiB
JSON
113 lines
2.3 KiB
JSON
{
|
|
"description": "drop fkey constraint test - manual",
|
|
"depends": [
|
|
"permission.json"
|
|
],
|
|
"items": [
|
|
{
|
|
"name": "create_schema",
|
|
"url": "/api/1/query",
|
|
"role": "admin",
|
|
"status_code": 200,
|
|
"method": "POST",
|
|
"user_id": "1",
|
|
"request": {
|
|
"kind": "drop_insert_permission",
|
|
"body": {
|
|
"table": "article",
|
|
"role": "user"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "create_schema",
|
|
"url": "/api/1/query",
|
|
"role": "admin",
|
|
"status_code": 200,
|
|
"method": "POST",
|
|
"user_id": "1",
|
|
"request": {
|
|
"kind": "drop_select_permission",
|
|
"body": {
|
|
"table": "article",
|
|
"role": "user"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "create_schema",
|
|
"url": "/api/1/query",
|
|
"role": "admin",
|
|
"status_code": 200,
|
|
"method": "POST",
|
|
"user_id": "1",
|
|
"request": {
|
|
"kind": "drop_delete_permission",
|
|
"body": {
|
|
"table": "article",
|
|
"role": "user"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "create_schema",
|
|
"url": "/api/1/query",
|
|
"role": "admin",
|
|
"status_code": 200,
|
|
"method": "POST",
|
|
"user_id": "1",
|
|
"request": {
|
|
"kind": "drop_update_permission",
|
|
"body": {
|
|
"table": "article",
|
|
"role": "user"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "create_schema",
|
|
"url": "/api/1/query",
|
|
"role": "admin",
|
|
"status_code": 200,
|
|
"method": "POST",
|
|
"user_id": "1",
|
|
"request": {
|
|
"kind": "drop_relationship",
|
|
"body": {
|
|
"table": "article",
|
|
"relationship": "author"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "create_schema",
|
|
"url": "/api/1/query",
|
|
"role": "admin",
|
|
"status_code": 200,
|
|
"method": "POST",
|
|
"user_id": "1",
|
|
"request": {
|
|
"kind": "drop_relationship",
|
|
"body": {
|
|
"table": "author",
|
|
"relationship": "articles"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "create_schema",
|
|
"url": "/api/1/query",
|
|
"role": "admin",
|
|
"status_code": 200,
|
|
"method": "POST",
|
|
"user_id": "1",
|
|
"request": {
|
|
"kind": "drop_constraint",
|
|
"body": {
|
|
"table": "article",
|
|
"constraint": "article_author_id_fkey"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |