The following transitions appear to be missing. While an admin could add them, I believe they deserve to be default.

MODERATION STATE TRANSITION: Send for More Work
FROM STATE: Needs Review
TO STATE: Draft
Use case: Someone has reviewed the unpublished content and has decided that more work needs to be done on it before it can be reviewed again.

MODERATION STATE TRANSITION: Un-archive
FROM STATE: Archive
TO STATE: Published
Use case: Content was archived by mistake

Comments

Charles Belov created an issue. See original summary.

Crell’s picture

Can you file a patch that adds those?

charles belov’s picture

Status: Active » Needs review
StatusFileSize
new4.67 KB

Added attempted patch file and set to needs review.

I added tests for transition between published and archived in both directions.

I saw tests for staged as well, which seemed odd since it's not been installed, but didn't touch those as (1) outside the scope of this issue and (2) perhaps I misunderstood the test.

josephdpurcell’s picture

Status: Needs review » Fixed

This looks good! I've merged the code.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.