]> BookStack Code Mirror - bookstack/commit
Allowed creating pages in visible chapters in invisible books
authorDan Brown <redacted>
Sat, 14 Jul 2018 13:12:29 +0000 (14:12 +0100)
committerDan Brown <redacted>
Sat, 14 Jul 2018 13:12:29 +0000 (14:12 +0100)
commit2bcc159fd6f51b9f18520f76888a81d46934f24f
tree60e83894adbf37044ea78536ab9e860a138c31a4
parentb2cd363539c8670c099fbfe9ff26b6b866cca5ae
Allowed creating pages in visible chapters in invisible books

Fixes permissions with test to cover in the event a page is created,
with permission, in a chapter but the user does not have permission to
see the parent book.

Fixes #912
app/Http/Controllers/PageController.php
app/Page.php
tests/Permissions/RestrictionsTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.