[TECHNICAL-SUPPORT] LPS-39987/LPS-40223 Centralize gathering of roles of teams of a certain group to the service layer

Hi Ray,

The aim of this change is to centralize existing functionality in a reusable and testable way.

Thx,
László

/CC: @zsigmondrab