This commit is contained in:
@@ -27,6 +27,8 @@ export default function initialize() {
|
||||
//Everyone has a home
|
||||
addNavItem(locale.get("Home"), "home", "/");
|
||||
|
||||
//NOTE: If a user has read full record or better then they should have access to that area
|
||||
|
||||
if (
|
||||
roles.hasRole(roles.AUTHORIZATION_ROLES.TechLimited) ||
|
||||
roles.hasRole(roles.AUTHORIZATION_ROLES.TechFull) ||
|
||||
@@ -45,7 +47,9 @@ export default function initialize() {
|
||||
|
||||
if (
|
||||
roles.hasRole(roles.AUTHORIZATION_ROLES.InventoryLimited) ||
|
||||
roles.hasRole(roles.AUTHORIZATION_ROLES.InventoryFull)
|
||||
roles.hasRole(roles.AUTHORIZATION_ROLES.InventoryFull) ||
|
||||
roles.hasRole(roles.AUTHORIZATION_ROLES.BizAdminLimited) ||
|
||||
roles.hasRole(roles.AUTHORIZATION_ROLES.BizAdminFull)
|
||||
) {
|
||||
addNavItem(locale.get("Inventory"), "dolly", "/inventory");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user