LPS-44697 use hierarchy of groupIds