Skip to content

Commit 6015431

Browse files
committed
update role name
1 parent 8e2dc03 commit 6015431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/permissions/project.view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = freq => new Promise((resolve, reject) => {
2222
// check if auth user has acecss to this project
2323
const hasAccess = util.hasAdminRole(req)
2424
|| util.hasRole(req, USER_ROLE.MANAGER)
25-
|| util.hasRole(req, USER_ROLE.ACCOUNT_MANAGER)
25+
|| util.hasRole(req, USER_ROLE.TOPCODER_ACCOUNT_MANAGER)
2626
|| !_.isUndefined(_.find(members, m => m.userId === currentUserId));
2727

2828
// if user is co-pilot and the project doesn't have any copilots then

0 commit comments

Comments
 (0)