mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-02 22:03:48 +08: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. |
||
---|---|---|
.. | ||
Activity.php | ||
ActivityService.php | ||
ActivityType.php | ||
Comment.php | ||
CommentRepo.php | ||
Favourite.php | ||
Tag.php | ||
TagRepo.php | ||
View.php |