owncloud / files_antivirus

:space_invader: virus scanner for ownCloud
GNU Affero General Public License v3.0
48 stars 30 forks source link

Fix enterprise check for ICAP #534

Closed pako81 closed 2 years ago

pako81 commented 2 years ago

Description

Fix enterprise check for ICAP

Related Issue

Motivation and Context

In case of no enterprise license present on system, when one tried to save configuration settings using Fortinet (ICAP) or McAfee Webgateway / Skyhigh Secure Web Gateway (ICAP), the configuration could be saved, which is wrong as ICAP is an enterprise-only feature.

How Has This Been Tested?

Manually. Having no enterprise license and try to save configuration settings when using Fortinet (ICAP) or McAfee Webgateway / Skyhigh Secure Web Gateway (ICAP):

Types of changes

Checklist:

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication