BookStack/app/Auth
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
..
Access Applied another round of static analysis updates 2021-11-22 23:33:55 +00:00
Permissions Fixed related permissions query not considering drafts 2021-11-30 00:06:17 +00:00
Role.php Laravel 8 shift squash & merge (#3029) 2021-10-30 21:29:59 +01:00
SocialAccount.php Laravel 7.x Shift (#3011) 2021-10-26 22:04:18 +01:00
User.php Added inital phpstan/larastan setup 2021-11-05 16:18:06 +00:00
UserRepo.php Standardised facade usage to use via their FQCN 2021-09-26 15:37:55 +01:00