Problem/Motivation
When reverting to a previous revision of an item of content, the new revision created matches the moderation state of the revision being reverted.
While this keeps the integrity of the workflow in tact, since content can only be recreated in a state that was valid at some previous point in time, it may not always be what users expect and it limits the utility of reverting in general, since certain revisions can only be recreated and immediately published or can only be recreated and reverted back to a draft.
Proposed resolution
A few proposals have been made to address this issue:
@catch in #17 (paraphrasing):
- Only allow reverts to default revisions
- Alter the access for the revert action to also require some kind of content_moderation permission
- Leave it as is, but probably with some messaging
@jhedstrom in #18:
- Could we simply add the moderation select list to the revert confirmation form?
@Sam152 in #30:
- Building on adding a moderation select list to the revert screen, but introducing additional permissions for reverting to each state.
Remaining tasks
Agree and implement an approach.