BookStack/tests/Permissions
Dan Brown 3f3fad7113
Fixed book-tree-gen page visibility issue
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
2020-12-17 17:31:18 +00:00
..
RestrictionsTest.php Fixed book-tree-gen page visibility issue 2020-12-17 17:31:18 +00:00
RolesTest.php Removed role 'name' field from database 2020-08-04 14:55:01 +01:00