bug #5192 : a group can appear more than one time in the user panel when it plays more than two roles for the given application

select the user groups distinctively for the user panel so that no more than one time a given group is returned by the SQL query