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

Commit a419a46

Browse files
author
Dushyant Bhalgami
authored
Merge pull request #502 from appirio-tech/feature-restrict-downloading-mm-subs
Feature restrict downloading mm subs
2 parents bf73947 + 75f31f9 commit a419a46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10302,6 +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+
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");
1030510308

1030610309
createProjectProperties(project.getId(), project, newProps, operator, conn);
1030710310

0 commit comments

Comments
 (0)