Unlock button is always displayed to node owner

Created on 15 September 2024, 2 months ago

Problem/Motivation

As a user without the "break content lock", I always see the "Unlock" button while editing my own content.

Steps to reproduce

As an authenticated user, create a content. As the same user edit the content. The "Unlock" link is there.

Proposed resolution

Add permission checking to ContentLockController::createLockCall().

Remaining tasks

Add the permission check.

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡·Greece vensires

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024