Site building
Review drafts
Keep revisions of podcasts and episodes, and review changes before they reach the feed with Content Moderation.
Podcasts and episodes keep revisions, like nodes. The forms have a Create new revision checkbox and a Revision log message. A page to browse and revert revisions is not available yet. With Drupal core's Content Moderation module, editors can save drafts and a reviewer publishes them.
Turn on moderation
- Enable Content Moderation at Extend, or run
drush en content_moderation. - Open Configuration → Workflow → Workflows (
/admin/config/workflow/workflows) and edit a workflow, such as Editorial. - Under This workflow applies to, select Podcast and Podcast Episode, then save.
- At People → Permissions, grant each role the workflow's transition permissions, such as Editorial workflow: Use Create New Draft transition. Grant View latest version to roles that review drafts.
The podcast and episode forms then have a Change to select with the workflow's states instead of the Published checkbox.
How drafts behave
- A draft of a published podcast or episode stays out of the feed. The feed keeps the published version until the draft is published.
- The latest version is at
/podcast/{id}/latestor/podcast-episode/{id}/latest, for users with View latest version. - An unpublished podcast hides all its episodes from the feed, published or not.
- Users with View unpublished podcast or Edit podcast see unpublished podcasts; View unpublished podcast episode or Edit podcast episode do the same for episodes.
Scheduled publishing does not support moderated episodes yet. Use one or the other for episodes.
When a user account is cancelled
Podcasts and episodes follow the method chosen when an account is cancelled:
| Cancellation method | Podcasts and episodes of the user |
|---|---|
| Disable the account and keep its content | Stay as they are. |
| Disable the account and unpublish its content | Are unpublished. |
| Delete the account and make its content belong to Anonymous | Belong to Anonymous, and so do the user's revisions. |
| Delete the account and its content | Are deleted. Deleting a podcast also deletes all its episodes, including other users' episodes. The user's revisions of other users' podcasts and episodes are deleted or, for current revisions, given to Anonymous. |
Check which podcasts a user owns before deleting the account with its content.