diff --git a/config/permission.json b/config/permission.json index 63426b91..1a7cf336 100644 --- a/config/permission.json +++ b/config/permission.json @@ -293,9 +293,15 @@ {"name": "doc.update", "methods": ["put"], "path": "/:index_name/:doctype/:doc_id" }, + {"name": "doc.update", "methods": ["post"], + "path": "/:index_name/_update/:doc_id" + }, {"name": "doc.create", "methods": ["post"], "path": "/:index_name/:doctype" }, + {"name": "doc.create", "methods": ["post", "put"], + "path": "/:index_name/_create/:doc_id" + }, {"name": "doc.delete", "methods": ["delete"], "path": "/:index_name/:doctype/:doc_id" @@ -303,6 +309,9 @@ {"name": "doc.get", "methods": ["get"], "path": "/:index_name/:doctype/:doc_id" }, + {"name": "doc.get", "methods": ["get"], + "path": "/:index_name/_source/:doc_id" + }, {"name": "doc.exists", "methods": ["head"], "path": "/:index_name/:doctype/:doc_id" },