Two character change, some API calls with sub resources and primary resources weren't working, should allow either the sub resource or the main resource to trigger allowance.
This commit is contained in:
parent
20b44c9dbd
commit
74dfeb7c7b
|
@ -156,7 +156,7 @@ exports.doesHaveResourcePermission = (
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return foundMain && foundSub
|
return foundMain || foundSub
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.doesHaveBasePermission = (permType, permLevel, permissionIds) => {
|
exports.doesHaveBasePermission = (permType, permLevel, permissionIds) => {
|
||||||
|
|
Loading…
Reference in New Issue