reduced logging for determined user role to debug level
This commit is contained in:
parent
956cadeb09
commit
456a2f4811
@ -90,7 +90,7 @@ public final class SecurityUtils {
|
|||||||
? ura.role
|
? ura.role
|
||||||
: Role.ANYBODY).
|
: Role.ANYBODY).
|
||||||
reduce(Role.ANYBODY, (r1, r2) -> r1.covers(r2) ? r1 : r2);
|
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;
|
return highestRole;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user