Unpublished paragraphs not being shown in closed widget with preview mode

Created on 1 December 2023, over 1 year ago
Updated 9 August 2024, 8 months ago

Problem/Motivation

Is there a reason that unpublished paragraphs appear just with their paragraphs type label when using "Preview" for the closed mode in the widget?
When using "Summary" instead, the summary is visible even for unpublished paragraphs.

This is being caused by the fact the only the view operation is being checked when the widget is set to "Preview", while with the "Summary" setting it is both update and view.

Proposed resolution

Perform the same access checks (update and view) for both modes.
I see that similar work has been done for the summary mode in #2937660: Empty summary for Paragraphs without access .

🐛 Bug report
Status

Needs review

Version

1.0

Component

User interface

Created by

🇩🇪Germany mrshowerman Munich

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