BookStack/app/Exceptions
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
..
ApiAuthException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
ConfirmationEmailException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
FileUploadException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Handler.php Fixed related permissions query not considering drafts 2021-11-30 00:06:17 +00:00
HttpFetchException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
ImageUploadException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
JsonDebugException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
LdapException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
LoginAttemptEmailNeededException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
LoginAttemptException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
MoveOperationException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
NotFoundException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
NotifyException.php Laravel 7.x Shift (#3011) 2021-10-26 22:04:18 +01:00
OpenIdConnectException.php Applied latest styles changes from style CI 2021-10-16 16:01:59 +01:00
PermissionsException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
PrettyException.php Laravel 7.x Shift (#3011) 2021-10-26 22:04:18 +01:00
SamlException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SocialDriverNotConfigured.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SocialSignInAccountNotUsed.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SocialSignInException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SortOperationException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
StoppedAuthenticationException.php Laravel 7.x Shift (#3011) 2021-10-26 22:04:18 +01:00
UnauthorizedException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
UserRegistrationException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
UserTokenExpiredException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
UserTokenNotFoundException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
UserUpdateException.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
WhoopsBookStackPrettyHandler.php Applied latest styleci changes 2021-10-15 14:16:45 +01:00