Adjust antivirus feature
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -149,13 +149,18 @@
|
||||
"featureDisplayEmail": "ENABLE_FEATURE_DISPLAY_EMAIL",
|
||||
"featureUserQuota": "ENABLE_FEATURE_USER_QUOTA",
|
||||
"featureManageAccess": "ENABLE_FEATURE_MANAGE_ACCESS",
|
||||
"featureAntivirus": "ENABLE_FEATURE_ANTIVIRUS"
|
||||
"featureAntivirus": "ENABLE_FEATURE_ANTIVIRUS",
|
||||
"featureAvStatusAllowed": {
|
||||
"__name": "FEATURE_AV_STATUS_ALLOWED",
|
||||
"__format": "json"
|
||||
}
|
||||
},
|
||||
"av": {
|
||||
"host": "AV_HOST",
|
||||
"port": "AV_PORT",
|
||||
"debugMode": "AV_DEBUG_MODE",
|
||||
"timeout": "AV_TIMEOUT",
|
||||
"maxFileSize": "AV_MAX_FILE_SIZE"
|
||||
"maxFileSize": "AV_MAX_FILE_SIZE",
|
||||
"deleteInfectedFiles": "AV_DELETE_INFECTED_FILES"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user