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 Added resource permissions for root folder in the test