OO-662: optimize the method which retrieve the memberships of a repository entry the same way as for groups to prevent the cross product in the view
Merge with 976d741e185f929b72ef9d566c0135abcebca8e5
OO-670: preselect participant if there is only 1 group or 1 repository entry, add a warning if the user miss to select a role