Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Races edit #167

Open
37 tasks
kumy opened this issue Sep 10, 2018 · 0 comments
Open
37 tasks

Races edit #167

kumy opened this issue Sep 10, 2018 · 0 comments
Labels

Comments

@kumy
Copy link
Member

kumy commented Sep 10, 2018

User story

As a race organizer I want to be able to edit my races.

Acceptance criteria

  • The organizer CAN edit a race
  • Any authenticated users CANNOT edit a race
  • Anonymous users CANNOT edit a race
  • Started races CANNOT be edited
  • Ended races CANNOT be edited
  • An admin MUST always be able to edit any race
  • A race MUST have a title
  • A race MUST have a start date time
  • A race MUST have an end date time
  • A race MUST have a description
  • A race MUST be public by default
  • A race CAN be private
  • A race CAN be private
  • A private race MUST have a password
  • The start date time MUST be in the future
  • The start date time CANNOT be in the past
  • The end date time MUST be in the future
  • The end date time CANNOT be in the past
  • The end date time MUST be after the start date time
  • The backend MUST manage the last update date time field
  • The race title MUST accept any UTF8 characters
  • The race description MUST accept any UTF8 characters
  • The race title MUST NOT accept any html tags
  • The race content MUST accept a subset of authorized html tags
  • The race organizer MUST be defined by the backend to the current connected user
  • The race type MUST be waypoint by default
  • The race type CAN be maximize distance
  • The race type CAN be reach target distance
  • The race type CAN be maximize number of visited caches
  • The race type CAN be reach target number of caches
  • For waypoint race type, a waypoint MUST be provided
  • For waypoint race type, the waypoint MAY exists in our database
  • For waypoint race type, the waypoint MAY be provided:
    • waypoint
    • latitude
    • longitude
  • For maximize distance race type no value MUST be provided
  • For reach target distance race type a distance (km) MUST be provided
  • For maximize number of visited caches race type no value MUST be provided
  • For reach target number of caches race type a distance (km) MUST be provided
@kumy kumy added the /races label Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant