Closed as not planned
Description
The /users/{user}/roles
endpoint does not use the correct SQL call for fetching roles.
Line 1012 in b1f9a6d
It should use GetAuthorizationUserRoles
. Read this thread on why this is not a trivial fix: #12412 (comment)