Merge pull request #3091 from Budibase/fix/table-perms
Fixing table permissions issue
This commit is contained in:
commit
93c0b5ddd4
|
@ -147,6 +147,7 @@ exports.getResourcePerms = async function (ctx) {
|
|||
const rolePerms = role.permissions
|
||||
if (
|
||||
rolePerms &&
|
||||
rolePerms[resourceId] &&
|
||||
(rolePerms[resourceId] === level ||
|
||||
rolePerms[resourceId].indexOf(level) !== -1)
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue