This commit is contained in:
2020-07-24 16:18:54 +00:00
parent 3ce7c1e119
commit 46647d74b9
3 changed files with 17 additions and 2 deletions

View File

@@ -107,6 +107,9 @@ export default {
//Get the AyaNova stock REQUIRED role rights for that object
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
let userRole = window.$gz.store.state.roles;