LPS-44236 Extract group independent part of PermissionCheckerBag into a new ancestor class
LPS-44236 Apply
LPS-44236 Reduce complexity from O(N) to O(1)