Editorial Workflow - NCIOCPL/cgov-digital-platform GitHub Wiki

Roles & Permissions

  • Image Manager
    • Create image
    • Edit image
    • Publish image
    • Archive (or delete) image
  • Blog Manager
    • Create series
    • Edit series
    • Publish Series
    • Archive Series
    • Translate Series
  • Content Author:
    • create content
    • edit content
    • submit content for review
    • translate content
    • submit for archiving
    • delete content (only if content was created in draft and has never been published)
  • Content Editor (Inherits perms from author)
    • approve content for publishing
    • approve content for archiving
  • Advanced Editor (Inherits perms from Content Editor)
    • manage site structure
    • permanently delete content
    • publish straight from draft
    • publish straight from editing existing content
  • Site Admin (inherits perms from Advanced Editor)
    • Add users
    • Remove users
    • View error logs

Validations on Transition

  • If a content item is in review by an editor, and the author then edits and submits a new revision, the content editor should not be able to send the older revision to publish (error message with outdated revision)

Workflow States and Transitions

  • Draft - Initial state for all new content (editable)
    • Transitions:
      • [ROLE] (TO STATE) - DISPLAY NAME
      • [Editor] (In Review) - Submit for Review
  • In Review (view only)
    • Transitions:
      • [Approver] (Published) - Approve for Publishing

Editorial (Content) Workflow

Image Workflow

Workflow for images will allow images to be created in "Draft" and pushed "Public" without needing a review state. Images that need to be edited will then be put back into Draft, and allowed to be pushed public after edits are made.

Note that if an image is uploaded to replace an existing image, it will create another version of that image (image_v1). The file system would need to be cleaned up in order to remove the original image if the intent is to not use it anywhere.

⚠️ **GitHub.com Fallback** ⚠️