Added: SubLevel constant

This commit is contained in:
Llewellyn D'souza
2021-12-27 13:37:15 +05:30
parent dda208afcf
commit 1f9f6db3dc
3 changed files with 9 additions and 5 deletions

View File

@@ -40,17 +40,19 @@ const CustomAttributeTypes = [
"Enumerable",
];
const AUTHENTICATION_FAILURE_ERROR_MESSAGE =
"Authentication Failed!";
const AUTHENTICATION_FAILURE_ERROR_MESSAGE = "Authentication Failed!";
const AUTHORIZATION_FAILURE_ERROR_MESSAGE =
"User not permitted due to lack of access!";
const SubLevelTypes = ["POSITION", "BIN", "PALLET"];
module.exports = {
UserActions,
InventoryScopes,
WarehouseScopes,
InventoryTypes,
CustomAttributeTypes,
SubLevelTypes,
SUPER_ADMIN_ROLE: "super-admin",
COMPANY_ADMIN_ROLE: "company-admin",
WAREHOUSE_ADMIN_ROLE: "warehouse-admin",