Showing
1 changed file
with
3 additions
and
3 deletions
| ... | ... | @@ -49,9 +49,9 @@ public class SecurityDownloadController extends DefaultBaseController { |
| 49 | 49 | throw new AccessDeniedException(); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | - if (!record.getCreateById().equals(getCurrentUser().getId())) { | |
| 53 | - throw new AccessDeniedException(); | |
| 54 | - } | |
| 52 | +// if (!record.getCreateById().equals(getCurrentUser().getId())) { | |
| 53 | +// throw new AccessDeniedException(); | |
| 54 | +// } | |
| 55 | 55 | |
| 56 | 56 | return InvokeResultBuilder.success( |
| 57 | 57 | UploadUtil.generatePresignedUrl(record.getUploadType().getCode(), record.getFilePath())); | ... | ... |