Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 75f31f9

Browse files
author
Dushyant Bhalgami
committed
add flag to restrict downloading submissions for MM
1 parent b9f4ba7 commit 75f31f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/project_management/src/java/main/com/topcoder/management/project/persistence/AbstractInformixProjectPersistence.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10302,7 +10302,9 @@ public void createOrUpdateMarathonMatch(Project project, Date startDate, Date re
1030210302
Map<Long, String> newProps = new HashMap<Long,String>();
1030310303
newProps.put(ProjectPropertyType.MM_MATCH_ID, String.valueOf(mmRound.getId()));
1030410304
newProps.put(ProjectPropertyType.MM_CONTEST_ID, String.valueOf(mmRound.getContest().getId()));
10305-
newProps.put(ProjectPropertyType.VIEWABLE_SUBMISSIONS_FLAG_KEY_STRING, "true");
10305+
10306+
// defaulting this to flase; and submissions should not be able to download by other members
10307+
newProps.put(ProjectPropertyType.VIEWABLE_SUBMISSIONS_FLAG_KEY_STRING, "false");
1030610308

1030710309
createProjectProperties(project.getId(), project, newProps, operator, conn);
1030810310

0 commit comments

Comments
 (0)