[regression] Moderation state can still be changed on locked entities

Created on 15 January 2019, almost 7 years ago
Updated 27 March 2024, over 1 year ago

It appears theres no content lock check in place when changing moderation states.

Given: a node that has a published version and a draft version.
Following steps to reproduce:

  1. Open the node edit form with user 1
  2. In a separate (incognito) window open the nodes draft page with user 2
  3. With user 2, change the moderation state to "Published"
  4. Save the node with user 1

Step #3 should not be possible.
Step #4 will show a "The content has either been modified by another user, or you have already submitted modifications. As a result, your changes cannot be saved." error message.

πŸ› Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium rp7

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024