[NEXUS-5902] Do not update user roles if not necessary

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>