Skip to content

Adding and Removing Submissions to Leaderboard

Placeholder Christopher "Logan" Ruf requested to merge Leaderboard-Flags into develop

@ mention of reviewers`

@ckcollab`

A brief description of the purpose of the changes contained in this PR.

Users can now remove a submission from the leaderboard if the ability is set using the SUBMISSION_RULES flag. Multiple bug fixes when adding submissions to a leaderboard. Adds flags that can be used in the future for more submission rules.

Issues this PR resolves

Resolves #517 (closed) Resolves #512 (closed)

A checklist for hand testing

  • Users can only add submissions that they own.
  • When an admin adds a submission to a leaderboard that is not theirs, the other submissions from that submission's owner are removed not the admins
  • Users can remove a submission if the Add_And_Delete flag is set
  • Users can only add a submission if the Add flag is set

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • Ready to merge

Merge request reports

Loading