Skip to content

Commit 04ee4f2

Browse files
author
Sachin Maheshwari
committed
fixing typo
1 parent 0a319e7 commit 04ee4f2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/.util.js.swp

-20 KB
Binary file not shown.

src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ _.assignIn(util, {
117117
const tokenScopes = _.get(req, 'authUser.scopes', []);
118118
if (isMachineToken) {
119119
if (_.indexOf(tokenScopes, TOKEN_SCOPES.CONNECT_PROJECT_ADMIN) >= 0) return true;
120-
return true;
120+
return false;
121121
}
122122
let roles = _.get(req, 'authUser.roles', []);
123123
roles = roles.map(s => s.toLowerCase());

0 commit comments

Comments
 (0)