Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294099

Unpublished books appear in the list of books at /book

$
0
0

Problem/Motivation

Unpublished books appear in the default listing at /book.

Steps to reproduce:

  1. Install Drupal
  2. Enable book module
  3. Create a book page that is unpublished
  4. Visit /book as an anonymous user
  5. Confirm the unpublished book appears in the list
  6. Click the link and get access denied

Expected result: Unpublished books should not appear in the listing /book for users who do not have permission to view unpublished content.

Proposed resolution

Update this page to check permissions to ensure content displayed corresponds with user access.

Remaining tasks

  1. Write a patch
  2. Review

--

I created new drupal 8 site from drupal 6 (via Migrate module).
Unpublished books became available in books list.
There were only main pages unpublished of these books. I tried to unpublish all pages of these books but result is the same.
When I click on one of these books in the list, 404 is shown.

have a look http://русбой.рф/книга
for example the third book in the list is unpublished

module list:
bootstrap_layouts
captcha
colorbox
ctools
ds
google_analytics
pathauto
recaptcha
redirect
tagclouds
token
video

theme: bootstrap sub theme


Viewing all articles
Browse latest Browse all 294099

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>