Problem/Motivation
Unpublished books appear in the default listing at /book.
Steps to reproduce:
- Install Drupal
- Enable book module
- Create a book page that is unpublished
- Visit /book as an anonymous user
- Confirm the unpublished book appears in the list
- 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
- Write a patch
- 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