#3650 unit tested case
Merge pull request #3689 from dotCMS/issue-3650-unit-test-upload-autopub-no-pub-permission

#3650 unit tested case