BookStack/app
Dan Brown b4fa82e329
Fixed related permissions query not considering drafts
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.
2021-11-30 00:06:17 +00:00
..
Actions Fixed related permissions query not considering drafts 2021-11-30 00:06:17 +00:00
Api Added API search endpoint 2021-11-14 16:28:01 +00:00
Auth Fixed related permissions query not considering drafts 2021-11-30 00:06:17 +00:00
Config Added an env configurable file upload size limit 2021-11-14 22:03:22 +00:00
Console Added test for logical-theme-system command registration 2021-11-22 19:03:04 +00:00
Entities Tweaked pdf export iframe replacement to fix compatibility 2021-11-28 21:01:35 +00:00
Exceptions Fixed related permissions query not considering drafts 2021-11-30 00:06:17 +00:00
Facades Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Http Changed homepage card header links to be bottom-card-links 2021-11-23 18:18:49 +00:00
Interfaces Tweaked custom command registration, Added StyleCI fixes 2021-11-22 22:22:31 +00:00
Notifications Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Providers Merge branch 'laravel_upgrade' 2021-11-04 22:42:35 +00:00
Settings Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Theming Updated translators and merged styleci fixes 2021-11-23 20:41:12 +00:00
Traits Done a round of phpstan fixes 2021-11-06 00:32:01 +00:00
Translation Apply fixes from StyleCI 2021-08-21 14:49:40 +00:00
Uploads Applied another round of static analysis updates 2021-11-22 23:33:55 +00:00
Util Done a round of phpstan fixes 2021-11-06 00:32:01 +00:00
Application.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
helpers.php Merge branch 'v21.05.x' 2021-07-03 12:02:13 +01:00
Model.php Applied latest StyleCI changes 2021-11-06 22:00:33 +00:00