rhbz915124 - Add permission check when uploading source documents.