LPS-40597 Permissions for Documents and Media home directory are not checked during search
LPS-40597 Source formatting
LPS-40597 Apply to rest
LPS-40597 Missing default permission and original logic was wrong
LPS-40597 Added upgrade for permissions and permission checking for portlet view state
LPS-40597 Check parent folder permissions before checking file entry permissions
LPS-40597 Fixed existing tests to work with the document library permissions
LPS-40597 Added extra tests for new features and use cases