Pinjasaur/whenisgucci

Implement Event "Validation"

Closed this issue · 1 comments

Ties in with "user auth".

If an event is created by a user that is unauthenticated then the event needs to be initially disabled until the user is authenticated.

This requires:

  • adding a new boolean field to the Event model
  • ALL API/server-side calls must check the field before proceeding
    • may be convenient to add a isValidEvent or similar function to allow for future features
  • when a creator authenticates themselves, all of their created events must also be set to enabled from their previous disabled states

Awaiting review in #90.