code100x / algorithmic-arena

91 stars 96 forks source link

Make sure user cant see/submit problems pre-contest #51

Open hkirat opened 1 week ago

hkirat commented 1 week ago

WE need to protect a few routes to ensure user isnt able to hit submit endpoints/see problems before a contest starts. After the contest we need to make sure user cant send an activeContest variable, and if they do, their request is rejected