BookStack/app/Auth/Permissions
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
..
EntityPermission.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
JointPermission.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
PermissionService.php Fixed related permissions query not considering drafts 2021-11-30 00:06:17 +00:00
PermissionsRepo.php Added role based MFA control 2021-07-03 13:34:48 +01:00
RolePermission.php Applied another set of static analysis improvements 2021-11-20 14:03:56 +00:00