content moderation in core content moderation in core
play

Content Moderation In Core Content Moderation In Core A - PDF document

4/26/2018 reveal.js Content Moderation In Core Content Moderation In Core A Presentation By A Presentation By Eric Sod Eric Sod esod esod on drupal.org on drupal.org file:///Users/sode/Documents/reveal.js/index.html#/80 1/82 4/26/2018


  1. 4/26/2018 reveal.js Content Moderation In Core Content Moderation In Core A Presentation By A Presentation By Eric Sod Eric Sod esod esod on drupal.org on drupal.org file:///Users/sode/Documents/reveal.js/index.html#/80 1/82

  2. 4/26/2018 reveal.js Table Of Contents Table Of Contents Introduction Overview Workflow Initiative and Workflows Overview Workflows Configuration and Workflow States Transitions , and Applying the Workflow Roles Permissions , , and Node Permissions Users Moderate Content Revisions The Future Add ons Helpful Links Questions file:///Users/sode/Documents/reveal.js/index.html#/80 2/82

  3. 4/26/2018 reveal.js Introduction Introduction Senior Drupal Developer at Memorial Sloan Kettering Cancer Center (MSKCC). Work on the team that produces MSKCC's public facing web site, www.mskcc.org Eight years experience as a web developer. file:///Users/sode/Documents/reveal.js/index.html#/80 3/82

  4. 4/26/2018 reveal.js Memorial Sloan Kettering Memorial Sloan Kettering Memorial Sloan Kettering Cancer Center is the world’s oldest and largest private cancer center. MSKCC has devoted more than 130 years to exceptional patient care, innovative research, and outstanding educational programs. file:///Users/sode/Documents/reveal.js/index.html#/80 4/82

  5. 4/26/2018 reveal.js Overview Overview The Content Moderation module allows you to expand on Drupal's "unpublished" and "published" states for content. It allows you to have a published version that is live, but have a separate working copy that is undergoing review before it is published. This is achieved by using Workflows to apply different states to entities as needed. file:///Users/sode/Documents/reveal.js/index.html#/80 5/82

  6. 4/26/2018 reveal.js Workflow Initiative Workflow Initiative file:///Users/sode/Documents/reveal.js/index.html#/80 6/82

  7. 4/26/2018 reveal.js Content Moderation Is A Part Of The Content Moderation Is A Part Of The Workflow Initiative Workflow Initiative Background Background Bring new features for actually managing content, such as workflows, preview and staging. Include functionality in core based on what contrib modules have done for many years. Workflow Initiative ­ https://www.drupal.org/project/ideas/issues/2721129 file:///Users/sode/Documents/reveal.js/index.html#/80 7/82

  8. 4/26/2018 reveal.js Workflow Initiative Workflow Initiative Goals Goals Bring major improvements to Drupal’s content workflow, preview and staging capabilities. Much of the functionality that is being implemented takes heavy inspiration from modules such as Workbench Moderation . Workflow Initiative ­ https://www.drupal.org/project/ideas/issues/2721129 file:///Users/sode/Documents/reveal.js/index.html#/80 8/82

  9. 4/26/2018 reveal.js Workflow Initiative Workflow Initiative Phase C: Content Moderation Module Phase C: Content Moderation Module This phase has introduced a module for moderating the publishing state on individual content entities. Plan issues: #2755073: WI: Content Moderation module roadmap https://www.drupal.org/project/drupal/issues/2755073 #2843494: WI: Workflows module roadmap https://www.drupal.org/project/drupal/issues/2843494 Workflow Initiative ­ https://www.drupal.org/project/ideas/issues/2721129 file:///Users/sode/Documents/reveal.js/index.html#/80 9/82

  10. 4/26/2018 reveal.js Workflows Overview Workflows Overview The Drupal 8 Workflows module allows you to manage workflow with states and transitions. Content Moderation is a core module that harnesses the Workflows module to allow revisionable content entities to move between different moderation states. Workflows Overview ­ https://www.drupal.org/docs/8/core/modules/workflows file:///Users/sode/Documents/reveal.js/index.html#/80 10/82

  11. 4/26/2018 reveal.js Workflows Configuration Workflows Configuration Enabling the Content Moderation module creates a default Workflow called "Editorial" that can be used for custom block types or content types. file:///Users/sode/Documents/reveal.js/index.html#/80 11/82

  12. 4/26/2018 reveal.js Configuring A Workflow Configuring A Workflow A workflow consists of "States" and "Transitions". file:///Users/sode/Documents/reveal.js/index.html#/80 12/82

  13. 4/26/2018 reveal.js What is a workflow, really? What is a workflow, really? file:///Users/sode/Documents/reveal.js/index.html#/80 13/82

  14. 4/26/2018 reveal.js Workflow Workflow file:///Users/sode/Documents/reveal.js/index.html#/80 14/82

  15. 4/26/2018 reveal.js Content Moderation Workflow Content Moderation Workflow Content Moderation Module - Out Of The Box Content Moderation Module - Out Of The Box Image credit ­ Kim Pepper, DrupalSouth 2017 file:///Users/sode/Documents/reveal.js/index.html#/80 15/82

  16. 4/26/2018 reveal.js Content Moderation Workflow Content Moderation Workflow Add A Reviewer Add A Reviewer file:///Users/sode/Documents/reveal.js/index.html#/80 16/82

  17. 4/26/2018 reveal.js States States file:///Users/sode/Documents/reveal.js/index.html#/80 17/82

  18. 4/26/2018 reveal.js States States States are the different statuses your content can have such as Draft, Published, etc. file:///Users/sode/Documents/reveal.js/index.html#/80 18/82

  19. 4/26/2018 reveal.js States States Add two new states to customize our workflow: "Review" and "Request publish" file:///Users/sode/Documents/reveal.js/index.html#/80 19/82

  20. 4/26/2018 reveal.js States States States can be "Published" and/or a "Default revision". file:///Users/sode/Documents/reveal.js/index.html#/80 20/82

  21. 4/26/2018 reveal.js States States A state marked "Published" updates the core publishing status to published. Otherwise it is updated to unpublished. A state marked "Default revision" updates the current revision to be the default revision when loading the entity. file:///Users/sode/Documents/reveal.js/index.html#/80 21/82

  22. 4/26/2018 reveal.js States States For our new states, "Published" and "Request publish" should be unchecked, since neither state is a published state. file:///Users/sode/Documents/reveal.js/index.html#/80 22/82

  23. 4/26/2018 reveal.js Content Moderation Workflow Content Moderation Workflow States Have Been Added To Our Workflow States Have Been Added To Our Workflow file:///Users/sode/Documents/reveal.js/index.html#/80 23/82

  24. 4/26/2018 reveal.js Transitions Transitions file:///Users/sode/Documents/reveal.js/index.html#/80 24/82

  25. 4/26/2018 reveal.js Transitions Transitions Transitions are the actual workflow that moves the content between states. file:///Users/sode/Documents/reveal.js/index.html#/80 25/82

  26. 4/26/2018 reveal.js Transitions Transitions These are the default transitions that come configured with the Editorial workflow. file:///Users/sode/Documents/reveal.js/index.html#/80 26/82

  27. 4/26/2018 reveal.js Transitions Transitions To make the new "Review" state useful, add two transitions: "Ready for review" and "Request publish". "Ready for review" will move content back and forth between the Draft and Review states. file:///Users/sode/Documents/reveal.js/index.html#/80 27/82

  28. 4/26/2018 reveal.js Transitions Transitions We also need to add the "Review" state to the "Create New Draft" transition. file:///Users/sode/Documents/reveal.js/index.html#/80 28/82

  29. 4/26/2018 reveal.js Transitions Transitions The "Request publish" transition will allow content under "Review" to be changed to the state 'Request publish". file:///Users/sode/Documents/reveal.js/index.html#/80 29/82

  30. 4/26/2018 reveal.js Transitions Transitions To make the new "Request publish" state useful, add the "Request publish" state to the "Publish" transition to allow content under "Request publish" to be published. file:///Users/sode/Documents/reveal.js/index.html#/80 30/82

  31. 4/26/2018 reveal.js Content Moderation Workflow Content Moderation Workflow Transitions Have Been Added To Our Transitions Have Been Added To Our Workflow Workflow file:///Users/sode/Documents/reveal.js/index.html#/80 31/82

  32. 4/26/2018 reveal.js Applying The Workflow Applying The Workflow file:///Users/sode/Documents/reveal.js/index.html#/80 32/82

  33. 4/26/2018 reveal.js Applying The Workflow Applying The Workflow Arrange The Order Of States And Transitions Arrange The Order Of States And Transitions To Your Liking. To Your Liking. file:///Users/sode/Documents/reveal.js/index.html#/80 33/82

  34. 4/26/2018 reveal.js Applying The Workflow Applying The Workflow The Editorial workflow has not been applied to any content types yet. So, there is no change on the create/edit node form. file:///Users/sode/Documents/reveal.js/index.html#/80 34/82

  35. 4/26/2018 reveal.js Applying The Workflow Applying The Workflow On the Editorial workflow admin page, follow these simple steps. Now, the create/edit node form looks like this ... file:///Users/sode/Documents/reveal.js/index.html#/80 35/82

Recommend


More recommend