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 0a319e7 commit 04ee4f2Copy full SHA for 04ee4f2
src/.util.js.swp
-20 KB
src/util.js
@@ -117,7 +117,7 @@ _.assignIn(util, {
117
const tokenScopes = _.get(req, 'authUser.scopes', []);
118
if (isMachineToken) {
119
if (_.indexOf(tokenScopes, TOKEN_SCOPES.CONNECT_PROJECT_ADMIN) >= 0) return true;
120
- return true;
+ return false;
121
}
122
let roles = _.get(req, 'authUser.roles', []);
123
roles = roles.map(s => s.toLowerCase());
0 commit comments