Fix permissions when fetching enriched rows
This commit is contained in:
parent
0988f27f15
commit
5ea2ad9010
|
@ -156,7 +156,7 @@ exports.doesHaveResourcePermission = (
|
|||
break
|
||||
}
|
||||
}
|
||||
return foundMain && foundSub
|
||||
return foundMain || foundSub
|
||||
}
|
||||
|
||||
exports.doesHaveBasePermission = (permType, permLevel, permissionIds) => {
|
||||
|
|
Loading…
Reference in New Issue