reduced logging for determined user role to debug level

This commit is contained in:
Michael Hoennig 2019-04-27 13:48:27 +02:00
parent 956cadeb09
commit 456a2f4811

View File

@ -90,7 +90,7 @@ public final class SecurityUtils {
? ura.role
: Role.ANYBODY).
reduce(Role.ANYBODY, (r1, r2) -> r1.covers(r2) ? r1 : r2);
log.info("getLoginUserRoleFor({}, {}) returned {}", onDtoClass, onId, highestRole);
log.debug("getLoginUserRoleFor({}, {}) returned {}", onDtoClass, onId, highestRole);
return highestRole;
}