Support content moderation

Created on 22 July 2022, over 2 years ago
Updated 30 March 2023, over 1 year ago

Problem/Motivation

Single Content Sync doesn't currently support workflow/content moderation for exported content; thus, imported content may automatically become unpublished after import.

Steps to reproduce

1. Enable and configured Content moderation module from core (just Draft and Published states are enough). Set default state to Draft.
2. Create the node, change it's workflow state to Published.
3. Export the node, then remove it and import from YML.

Expected: node is published and has Published workflow state.
Actual: node is unpublished and has Draft workflow state.

Proposed resolution

Support storing and restoring workflow state, probably as submodule to not introduce unnecessary dependency.

Remaining tasks

Someone would do it :).

User interface changes

None.

API changes

A new hook / event could be required to integrate the submodule.

Data model changes

YML file format would include new fields/section for workflow but it should be backwards compatible.

Feature request
Status

Fixed

Version

1.3

Component

Code

Created by

🇺🇦Ukraine abramm Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024