Skip to content

Commit ba09c6d

Browse files
committed
Add 'tgadmin' as an allowed role to list and get submission details (PS-268)
1 parent 267a91e commit ba09c6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/SubmissionRoutes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
controller: 'SubmissionController',
1717
method: 'listSubmissions',
1818
auth: 'jwt',
19-
access: ['Topcoder User', 'Administrator', 'Copilot'],
19+
access: ['Topcoder User', 'Administrator', 'Copilot', 'tgadmin'],
2020
scopes: ['read:submission', 'all:submission'],
2121
blockByIp: true
2222
}
@@ -26,7 +26,7 @@ module.exports = {
2626
controller: 'SubmissionController',
2727
method: 'getSubmission',
2828
auth: 'jwt',
29-
access: ['Topcoder User', 'Administrator', 'Copilot'],
29+
access: ['Topcoder User', 'Administrator', 'Copilot', 'tgadmin'],
3030
scopes: ['read:submission', 'all:submission'],
3131
blockByIp: true
3232
},

0 commit comments

Comments
 (0)