Added permission check to upload