@nikositech/ms-handler-nt
v1.0.9
Published
* checkMSPermission(req, res, next, moduleName = null, version = "vCore")
Downloads
4
Readme
MSPermissionHandlerNT
- checkMSPermission(req, res, next, moduleName = null, version = "vCore")
check if req.user.modules contains the current the moduleName and the version
401 : If you don't have the permission
500 : Config module is not installed