jmix icon indicating copy to clipboard operation
jmix copied to clipboard

User obtained through CurrentAuthentication has not all attributes loaded

Open knstvk opened this issue 3 years ago • 0 comments

Try to get the current user in a service method invoked through REST Services API: you will get the user entity with only basic attributes of UserDetails loaded.

It prevents from using User attributes in security constraints and other queries through parameters like :current_user_myProp .

knstvk avatar Aug 15 '22 10:08 knstvk