LPS-33429 Integration tests for searching basemodels that some users can not VIEW
LPS-33429 source formatting
LPS-33429 Complete source formatting
LPS-33429 missing transactional annotation
LPS-33429 we need to pass and clone serviceContext for the test to work
LPS-33429 removing funny code :)
LPS-33429 we need to pass and clone serviceContext for the test to work
LPS-33429 ParentModel should be visible for anyone and the model should not
LPS-33429 We need to restore the permission checker in threadLocal because otherwise other tests will fail because we are reusing the same threadLocal
LPS-33429 Add test to check permissions on the container (if the user doesn't have VIEW permission on the container, but he has VIEW permission on the model, he shouldn't be able to search for the model)
LPS-33429 Permission checking in Journal article index
LPS-33429 Fix bug with parentFolderId
LPS-33429 Make journalArticlePermission consistent with dl and bookmarks, we are not checking the permissions in parent folder
LPS-33429 Enable filter check on journal article search results
LPS-33532 Remove unnecessary file
LPS-33532 Global journal structures doesn't appear in the "Add" menu in Journal portlet in Control Panel
LPS-33532 Make it consistent with add_button.jsp in Documents and Media
LPS-33532 Remove unnecessary code?
LPS-33860 Structures and templates referenced by web contents can be removed

It's enough to check if the template is referenced by any web contents, because of the already existing constraints:

1) An structure referenced by any templates cannot be removed.
2) A web content with an structure must also have a template.
LPS-33860 Test