Skip to content

NHT: Users shall be able to create “stats." #345

@josh-bitovi

Description

@josh-bitovi

To expand the number of people who can create stats and reduce the amount of time that admins spend entering them users with accounts can create stats. Note that users and Players are not the same thing. A user has an account, a Player is an object in the DB. A person does not have to be a Player to be a user.

  • Users shall be logged in before they create stats (users who are not logged in cannot create stats).
  • Users shall be able to create stats for any tournament / game / player combination.
  • Stats shall be associated with the user that created them.
  • Users shall be able to delete stats they created.

Users do not have to be granted permission to add stats, they only need to create an account using the normal process. The user will not be able to do any other tasks; for example deleting games or creating Players.

Original documentation

Stats created by non-admin users ("players") should be:

  • Shown by default
  • Marked as "unapproved" or "needs approval" to admin viewers
  • Can be approved by admins, in which case it becomes a "normal" stat
  • Retain creator UID

We may also need an admin UI for listing unapproved stats... but...

  1. Spin that off into another issue, before this one is closed
  2. Allow admins to approve stats inline in the usual video player

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions