Closed YashKumarVerma closed 3 years ago
Flow
by adding a new property which specify the resource (i.e. /slide) and the operation on it (i.e. /create, /delete ...)
/slide
/create
/delete
{ "route": "/data/Template/post", "method": "post", "access": { "entity": "template", "operation": "create" }, "handlers": [] }
Note : the following json document of resource:operation mapping is for debugging and summary purposes and is generated via /service/routes/entityAndOperations.js
/service/routes/entityAndOperations.js
{ "middleware": [ "loader.login", "loader.slide.delete", "loader.proxyHandler", "googleAuth", "img.iip.raw", "data" ], "slide": ["read", "create", "delete", "update"], "request": ["read", "create", "delete"], "mark": [ "read", "create", "delete", "update", "types", "multi", "spatial", "findMarkTypes" ], "presetLabel": ["create", "update", "delete"], "template": ["read", "create", "delete", "update"], "heatmap": ["read", "types", "create", "delete", "update"], "heatmapEdit": ["read", "create", "delete", "update"], "log": ["read", "create", "delete", "update"], "freeform": ["read", "create", "delete", "update"], "configuration": ["read", "create", "delete", "update"], "collection": ["read", "create", "update", "delete"], "user": ["read", "create", "delete", "update", "wcido"], "workbench": [ "uploadDataset", "trainModel", "deleteUserData", "modelDownload" ] }
@birm
Summary
Flow
by adding a new property which specify the resource (i.e.
/slide
) and the operation on it (i.e./create
,/delete
...)Note : the following json document of resource:operation mapping is for debugging and summary purposes and is generated via
/service/routes/entityAndOperations.js
This Pull Request