bugbug - was checking against bizadminfull role which no longer exists and sb just bizadmin, checked for any other cases similar using full but found none beyond what was fixed here.
This commit is contained in:
@@ -49,6 +49,8 @@ export default {
|
||||
return false;
|
||||
}
|
||||
//array form?
|
||||
// eslint-disable-next-line no-debugger
|
||||
debugger;
|
||||
if (Array.isArray(desiredRole)) {
|
||||
//it's an array of roles, iterate and if any are present then return true
|
||||
for (let i = 0; i < desiredRole.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user