mirror of https://gitee.com/xiaonuobase/snowy
【修复】完善MINIO工具类
parent
e680edf65d
commit
620369c4da
|
@ -354,7 +354,8 @@ public class DevFileMinIoUtil {
|
|||
JSONArray actionArray = JSONUtil.createArray();
|
||||
if(devFileBucketAuthEnum.equals(DevFileBucketAuthEnum.PUBLIC_READ)) {
|
||||
actionArray.put("s3:GetObject");
|
||||
} else {
|
||||
}
|
||||
if(devFileBucketAuthEnum.equals(DevFileBucketAuthEnum.PUBLIC_READ_WRITE)) {
|
||||
actionArray.put("s3:GetObject");
|
||||
actionArray.put("s3:PutObject");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue