Skip to content

Commit 7d4605e

Browse files
authored
Merge pull request #194 from topcoder-platform/plat1468_adjust_failed_screen_perms
removed admin requirement for studio projects
2 parents 42db1f0 + cd64b97 commit 7d4605e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/com/cronos/onlinereview/actions/projectdetails/AdvanceFailedScreeningSubmissionAction.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ public String execute() throws BaseException {
7575

7676
// Check that user has permissions to delete submission.
7777
boolean hasPermission = AuthorizationHelper.hasUserPermission(request, Constants.ADVANCE_SUBMISSION_FAILED_SCREENING_PERM_NAME);
78-
// For Studio projects only Admins are authorized to advance submissions.
79-
if (ActionsHelper.isStudioProject(project)) {
80-
hasPermission = hasPermission && AuthorizationHelper.hasUserRole(request, Constants.ADMIN_ROLE_NAME);
81-
}
8278

8379
if (!hasPermission) {
8480
return ActionsHelper.produceErrorReport(this,

0 commit comments

Comments
 (0)