Node.js based forum software built for the modern web
closes #2275
barisusakli4440260f8fc1
diff --git a/src/privileges/helpers.js b/src/privileges/helpers.jsindex af9e47866f..ca119eec27 100644--- a/src/privileges/helpers.js+++ b/src/privileges/helpers.js@@ -115,7 +115,7 @@ function isGuestAllowedTo(privilege, cids, callback) {(!results.groupPrivilegeExists[i] || results.hasGroupPrivilege[i] !== false) :(results.groupPrivilegeExists[i] && results.hasGroupPrivilege[i] === true);- result.push(!results.userPrivilegeExists[i] && groupPriv);+ result.push((!results.userPrivilegeExists[i] && !results.groupPrivilegeExists[i]) || groupPriv);}callback(null, result);