Julien Muchembled
authored
Caching the current user during the transaction breaks code that changes user. getSecurityManager().getUser().getId() is anyway already so fast, and it is here called so rarely, that it's not worth caching the result.