We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2dc03 commit 6015431Copy full SHA for 6015431
src/permissions/project.view.js
@@ -22,7 +22,7 @@ module.exports = freq => new Promise((resolve, reject) => {
22
// check if auth user has acecss to this project
23
const hasAccess = util.hasAdminRole(req)
24
|| util.hasRole(req, USER_ROLE.MANAGER)
25
- || util.hasRole(req, USER_ROLE.ACCOUNT_MANAGER)
+ || util.hasRole(req, USER_ROLE.TOPCODER_ACCOUNT_MANAGER)
26
|| !_.isUndefined(_.find(members, m => m.userId === currentUserId));
27
28
// if user is co-pilot and the project doesn't have any copilots then
0 commit comments