mozilla / galaxy-api

INACTIVE - http://mzl.la/ghe-archive - To infinity and beyond. The backend API.
http://docs.galaxy.apiary.io/
BSD 3-Clause "New" or "Revised" License
9 stars 11 forks source link

Add a `status` column to game table #357

Closed cvan closed 2 years ago

cvan commented 9 years ago

Currently, any game that is submitted at POST /games become public immediately.

In the previous version of the API (the original restify version), there were statuses. A game would be pending upon submission, and then a Reviewer/Admin would could change the status:

  1. pending
  2. approved
  3. rejected
  4. disabled
  5. deleted

Previous mocks here: https://github.com/cvan/galaxy-designs/wiki#game-submission https://github.com/cvan/galaxy-designs/wiki#reviewer-dashboard

Eventually, we'll want to add API endpoints to manage game status, like the ones we used to have. And then we'll probably want a UI too. But for now, let's just make sure API access is restricted to those who are trusted to maintain this (Mozilla folks who are working with partners to get their games included in our catalogue).

This will all change too once we have ACL enforced for all the endpoints - so people can't modify games that aren't theirs, etc.