Unpublished book pages in html export - add config to restrict to published nodes

Created on 16 August 2021, over 3 years ago
Updated 3 March 2023, almost 2 years ago

Note on Security

The Drupal Security Team was made aware of this issue and after evaluating, determined this is not a security issue.

Problem/Motivation

With Drupal 9.2 the following patch/issue was resolved:
Make Book navigation translatable

Like I also mentioned in this issue ( #241 ), there were patches with a request to address an issue of unexpected behavior: unpublished nodes get into the export of the book if the current user can access them

Steps to reproduce

  1. Create a book content with workflow activated
  2. Publish some nodes and subnodes
  3. Put a node in an unpublished state (e.g. archived)
  4. use the print preview / html export as a user who can access the archived node

Proposed resolution

Unpublished nodes should not be part of the html export

Remaining tasks

Create patch

User interface changes

API changes

Data model changes

Release notes snippet

Feature request
Status

RTBC

Version

10.1

Component
Book 

Last updated 17 days ago

Created by

🇩🇪Germany dbielke1986

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