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

added ID for Viewable Submission Flag #503

Merged
merged 1 commit into from
Sep 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ public class ProjectPropertyType implements Serializable {
* @since 1.2.1
*/
public static final String VIEWABLE_SUBMISSIONS_FLAG_KEY_STRING = "Viewable Submissions Flag";

/**
* Represent "Viewable Submissions Flag Id" property type
* @since 1.2.8
*/
public static final Long VIEWABLE_SUBMISSIONS_FLAG_ID = 53L;

/**
* Represents key for Viewable Submitters property.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10304,7 +10304,7 @@ public void createOrUpdateMarathonMatch(Project project, Date startDate, Date re
newProps.put(ProjectPropertyType.MM_CONTEST_ID, String.valueOf(mmRound.getContest().getId()));

// defaulting this to flase; and submissions should not be able to download by other members
newProps.put(ProjectPropertyType.VIEWABLE_SUBMISSIONS_FLAG_KEY_STRING, "false");
newProps.put(ProjectPropertyType.VIEWABLE_SUBMISSIONS_FLAG_ID, "false");

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

Expand Down