Skip to content

Commit cd64b97

Browse files
committed
removed admin requirement for studio projects
1 parent 1c5aab7 commit cd64b97

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)