Unpublished content not respected

Created on 4 January 2024, 12 months ago
Updated 5 January 2024, 12 months ago

Problem/Motivation

When a node is set to private and unpublished, users are able to see the node.

Steps to reproduce

Create a node, set it to private and unpublished.
Then visit the site with a logged in user that has the permission granted to see private content.
The node will be visible.

Proposed resolution

Amend the condition that checks on the node status during node save.

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom kiwimind

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

Comments & Activities

Production build 0.71.5 2024