[Duplicate] Book outline not limited to allowed content types
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2862291. -->
Reported by: [ericpugh](https://www.drupal.org/user/130084)
Related to !5719 !34 !28
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>This seems too obvious, but the book module's outline is not restricted by allowed content types on the node/add form.<br>
To reproduce:</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>1) Standard profile installation 8.2.7 and enable the Book module.<br>
2) Go to /admin/structure/book/settings and select only the "Article" content type for "Content types allowed in book outlines".<br>
3) Go to /node/add/page to create a new "Basic Page". Notice, the "Book Outline" fieldset is visible although you'd expect the settings in #2 to restrict the Basic Page content type.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add new permission and access check.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Review</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>N/A</p>
<h3 id="summary-api-changes">API changes</h3>
<p>N/A</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>N/A</p>
issue