fixes #5313
Merge pull request #5375 from dotCMS/issue-5313-limited-user-with-full-permission-cant-see-templates-in-h2db

fixes #5313