Commit b7638d30d1922873995d00b3317deae1540da26c

Authored by 房远帅
1 parent 2f636acd

楚江ERP:客户资信-去除下载权限

@@ -49,9 +49,9 @@ public class SecurityDownloadController extends DefaultBaseController { @@ -49,9 +49,9 @@ public class SecurityDownloadController extends DefaultBaseController {
49 throw new AccessDeniedException(); 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 return InvokeResultBuilder.success( 56 return InvokeResultBuilder.success(
57 UploadUtil.generatePresignedUrl(record.getUploadType().getCode(), record.getFilePath())); 57 UploadUtil.generatePresignedUrl(record.getUploadType().getCode(), record.getFilePath()));