luillo1 / RaceResults

A platform for managing and sharing running race results within running groups
4 stars 0 forks source link

Add race tab #51

Closed MutatedGamer closed 2 years ago

MutatedGamer commented 2 years ago

This separates races into "public" and "non-public" races. Only "public" races show up in the submission form. On an organization page, admins can

  1. Manage if a race distance is public or non-public
  2. Add a new distance to a given event
  3. Add a new race

Public races do not require authentication to GET or POST. POSTing creates a new race with Public = false.

This PR makes the existing races endpoint require authentication. POSTing creates a new race with Public = true.

Editing a submitted race is not yet implemented.