Page MenuHomeWrite.as

Set post author
Closed, ResolvedPublic

Description

Overview

Users should be able to explicitly set the author of a post.

Use case

Admins and editors may publish the work of other writers, and want to attribute it to someone else -- especially an outside contributor T734.

Implementation

When publishing to a Organizations blog:

  • Classic editor: add an "Authors" field in a modal that appears before publishing the post
    • Users can choose 1 or more authors from an autocompleting dropdown
    • Prevent publishing if no authors are selected (or attribute to user)
  • Metadata editor: add an "Authors" field that allows users to change the author

API

  • Accept an authors array of strings, each representing an author's slug
  • Associate these authors with the post

Revisions and Commits

Event Timeline

matt triaged this task as Medium-High priority.Jul 20 2021, 9:30 PM
matt created this task.
matt added a parent task: T859: Public article authors.
matt lowered the priority of this task from Medium-High to Normal.Jul 20 2021, 9:33 PM
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 23 2021, 5:45 PM
matt moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 23 2021, 5:47 PM
matt raised the priority of this task from Normal to High.Aug 9 2021, 7:10 PM

An org / user context will help here, so we can display the correct list of authors when publishing a post.

matt added a commit: Restricted Diffusion Commit.Mon, Aug 30, 9:23 PM
matt added a commit: Restricted Diffusion Commit.
matt added a commit: Restricted Diffusion Commit.Mon, Aug 30, 10:29 PM

Remaining:

  • Set author in Plain Text editor
  • Update post author via API
  • Update post author via metadata editing page
matt added a commit: Restricted Diffusion Commit.Wed, Sep 1, 5:34 PM

We won't include a way for users to set an author in the plain text editor for now. Everything else is complete.