SEBSERV-376 fix also for detailed view

This commit is contained in:
anhefti 2023-02-22 10:56:47 +01:00
parent a99e8fb637
commit f72e57d7c7

View file

@ -179,12 +179,12 @@ public class ClientConnectionDetails implements MonitoringEntry {
@Override
public boolean grantChecked() {
return this.grantChecked;
return !this.checkSecurityGrant || this.grantChecked;
}
@Override
public boolean grantDenied() {
return this.grantDenied;
return this.checkSecurityGrant && this.grantDenied;
}
@Override