Hello,
Since the code of this behaviour has changed (see #2865498: Latest revision tab should respect 'view own unpublished content' permission) it would be nice to have those changes reflected in the permission description.
Right now it seems that view latest permision can only be granted if view any unpublished content is granted too, and it is wrong.
You can actually View the latest version if you have the view own unpublished content permission among with view latest version OR view any unpublished content.
This way, the description in content_moderation.permissions.yml will change from:

view latest version:
  title: 'View the latest version'
  description: 'Requires the "View any unpublished content" permission'

To:

view latest version:
  title: 'View the latest version'
  description: 'Requires the "View any unpublished content" or "View own unpublished content" permission'

Added a patch for it.

Comments

TuWebO created an issue. See original summary.

tuwebo’s picture

Version: 8.5.x-dev » 8.4.x-dev
StatusFileSize
new692 bytes

Sorry,
Better to report it to 8.4.x version.

timmillwood’s picture

Status: Needs review » Reviewed & tested by the community

LGTM

tuwebo’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new703 bytes

Finally, I forgot add the permission word.
Patch submited.

timmillwood’s picture

Status: Needs review » Reviewed & tested by the community

  • larowlan committed f0a9699 on 8.5.x
    Issue #2924055 by TuWebO: Wrong description for "view latest version"...

  • larowlan committed 18a98cb on 8.4.x
    Issue #2924055 by TuWebO: Wrong description for "view latest version"...
larowlan’s picture

Status: Reviewed & tested by the community » Fixed

This is a string change in a patch version, but that is allowed in an experimental module.

Committed as f0a9699 and pushed to 8.5.x.

Cherry-picked as 18a98cb and pushed to 8.4.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.