Merge branch 'dev' into feat/endpoints-1

This commit is contained in:
Sathishkumar Krishnan
2021-12-29 07:18:46 +05:30
3 changed files with 10 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",