Skip to content

Commit b93bf5b

Browse files
Disable auth for get /challengesettings
1 parent 7ba1804 commit b93bf5b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/routes.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,11 @@ module.exports = {
131131
'/challengeSettings': {
132132
get: {
133133
controller: 'ChallengeSettingController',
134-
method: 'searchChallengeSettings',
135-
auth: 'jwt',
136-
access: [constants.UserRoles.Admin, constants.UserRoles.Copilot],
137-
scopes: [CHALLENGE_SETTINGS.READ, CHALLENGE_SETTINGS.ALL]
134+
method: 'searchChallengeSettings'
135+
// TODO: We may not need auth here. Temporarily disabling auth
136+
// auth: 'jwt',
137+
// access: [constants.UserRoles.Admin, constants.UserRoles.Copilot],
138+
// scopes: [CHALLENGE_SETTINGS.READ, CHALLENGE_SETTINGS.ALL]
138139
},
139140
post: {
140141
controller: 'ChallengeSettingController',

0 commit comments

Comments
 (0)