When moving a book from staging to production, we should not use the "Move book" button anymore but rather the "Promote book" button, so that what needs to be fixed is fixed, and what needs to be confirmed is confirmed. The "Move button" should be hidden for this case.
When moving a book from production to staging, I would prefer we have a similar "Unpromote book" button, so that we have (a-)symmetric buttons.
We should also remove /books/{book_id}/move API and add a /books/{book_id}/unpromote API.
We finally need to ensure that /books/{book_id}/promote works only when book is in quarantine or staging, and /books/{book_id}/unpromote works only when book is in production.
When moving a book from staging to production, we should not use the "Move book" button anymore but rather the "Promote book" button, so that what needs to be fixed is fixed, and what needs to be confirmed is confirmed. The "Move button" should be hidden for this case.
When moving a book from production to staging, I would prefer we have a similar "Unpromote book" button, so that we have (a-)symmetric buttons.
We should also remove
/books/{book_id}/moveAPI and add a/books/{book_id}/unpromoteAPI.We finally need to ensure that
/books/{book_id}/promoteworks only when book is in quarantine or staging, and/books/{book_id}/unpromoteworks only when book is in production.