mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 17:08:20 +08:00
3f3fad7113
When book trees were generated, pages in chapters where ALL pages within were not supposed to be visibile, would be visible due to the code falling back on the raw relation which would not account for permissions. This has now been changed so that a custom 'visible_pages' attribute is set and used by any book tree structures, to ensure it does not fall back to the raw relation. Added an extra test to cover. For #2414 |
||
---|---|---|
.. | ||
RestrictionsTest.php | ||
RolesTest.php |