Adjust antivirus feature

This commit is contained in:
lethemanh
2025-04-18 17:05:22 +07:00
parent f0b6315d76
commit 8789b91a7a
17 changed files with 210 additions and 20 deletions
+13 -2
View File
@@ -128,14 +128,25 @@
"featureManageAccess": true,
"defaultCompany": "00000000-0000-4000-0000-000000000000",
"defaultUserQuota": 200000000,
"featureAntivirus": false
"featureAntivirus": false,
"featureAvStatusAllowed": {
"download": ["uploaded", "safe", "scanning", "scan_failed", "malicious"],
"share": ["uploaded", "safe", "scanning", "skipped"],
"rename": ["uploaded", "safe", "scanning"],
"move": ["uploaded", "safe", "scanning"],
"rescan": ["scan_failed"],
"copy_link": ["uploaded", "safe", "scanning"],
"manage_access": ["uploaded", "safe", "scanning", "skipped"],
"version": ["uploaded", "safe", "scanning"]
}
},
"av": {
"host": "av",
"port": 3310,
"debugMode": false,
"timeout": 2000,
"maxFileSize": 26214400
"maxFileSize": 4294967295,
"deleteInfectedFiles": false
},
"applications": {
"grid": [