This commit is contained in:
@@ -107,6 +107,9 @@ export default {
|
|||||||
|
|
||||||
//Get the AyaNova stock REQUIRED role rights for that object
|
//Get the AyaNova stock REQUIRED role rights for that object
|
||||||
let objectRoleRights = this.ROLE_RIGHTS[typeName];
|
let objectRoleRights = this.ROLE_RIGHTS[typeName];
|
||||||
|
if (!objectRoleRights) {
|
||||||
|
throw `authorizationroles::getRights type ${oType} not found in roles collection`;
|
||||||
|
}
|
||||||
|
|
||||||
//get the logged in user's role
|
//get the logged in user's role
|
||||||
let userRole = window.$gz.store.state.roles;
|
let userRole = window.$gz.store.state.roles;
|
||||||
|
|||||||
@@ -85,7 +85,12 @@ export default {
|
|||||||
BizMetrics: 48,
|
BizMetrics: 48,
|
||||||
Backup: 49,
|
Backup: 49,
|
||||||
Notification: 50,
|
Notification: 50,
|
||||||
NotifySubscription: 51
|
NotifySubscription: 51,
|
||||||
|
Reminder: 52,
|
||||||
|
UnitMeterReading: 53,
|
||||||
|
CustomerServiceRequest: 54,
|
||||||
|
ServiceBank: 55,
|
||||||
|
OpsNotificationSettings: 56
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ export default {
|
|||||||
appError: null,
|
appError: null,
|
||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject()
|
rights: window.$gz.role.defaultRightsObject()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -430,6 +430,13 @@ function generateMenu(vm) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
menuOptions.menuItems.push({
|
||||||
|
title: "NotifyQueue",
|
||||||
|
icon: null,
|
||||||
|
data: "ops-notify-queue",
|
||||||
|
key: "app:nav"
|
||||||
|
});
|
||||||
|
|
||||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user