mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
31 lines
637 B
JSON
31 lines
637 B
JSON
{
|
|
"description": "basic permissions check",
|
|
"depends": [
|
|
"author_article_category.json"
|
|
],
|
|
"items": [
|
|
{
|
|
"name": "declare select permissions on category",
|
|
"status_code": 400,
|
|
"url": "/api/1/query",
|
|
"role": "user",
|
|
"user_id": "1",
|
|
"method": "POST",
|
|
"request": {
|
|
"kind": "create_select_permission",
|
|
"body": {
|
|
"role": "user",
|
|
"table": "category",
|
|
"perm": {
|
|
"columns": [
|
|
"id",
|
|
"name",
|
|
"description"
|
|
],
|
|
"filter": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |