mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
b4fa82e329
Page-related items added on drafts could be visible in certain scenarios since the applied permissions query filters would not consider page draft visibility. This commit alters queries on related items to apply such filtering. Included test to cover API scenario. Thanks to @haxatron for reporting. |
||
---|---|---|
.. | ||
ApiAuthTest.php | ||
ApiConfigTest.php | ||
ApiDocsTest.php | ||
ApiListingTest.php | ||
AttachmentsApiTest.php | ||
BooksApiTest.php | ||
ChaptersApiTest.php | ||
PagesApiTest.php | ||
SearchApiTest.php | ||
ShelvesApiTest.php | ||
TestsApi.php |