Problem/Motivation
UX: Certain users understand the word "Draft" to mean "Unpublished" and are surprised that a node in "Draft" is published if a previous revision of the node is Published.
Steps to reproduce
- drush site:install -y
- drush en -y content_moderation
- drush uli
- /admin/config/workflow/workflows/manage/editorial
- This workflow applies to: Content Type node: select: Article
- Save dialog box, then save again
- /node/add/article
- Title: test
- Make sure Save as: says Draft
- Save
- In an incognito window, go to /node/1
- Confirm you see Access Denied
- /node/1/edit
- Change to: Published
- Save
- In an incognito window, go to /node/1
- Confirm you see the node
- /node/1/edit
- Change to: Draft
- Save
- In an incognito window, go to /node/1
- Confirm you see the node
Proposed resolution
Under "Draft", if a previous version of the node is published, add text that says: "A previous revision of this node is published. See all revisions" which will link to /node/1/revisions. If no version is previously published, then say: "This node has no published revision. See all revisions" which will link to /node/1/revisions.
Remaining tasks
User interface changes
See "Proposed resolution".