This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user