The broker public plans interceptor (resyncPlanVisibilitiesWithSupportedPlatforms) does not distinguish between public plan visibilities & tenant scoped platform visibilities.
This leads to incorrect visibilities removal if a non-public plan visibility exists for a sub-account platform and the broker is updated.
Approach
Identify if a plan is visible on a sub-account scoped platform and keep the visibility in this case
Return platforms map instead of just the platform ids strings, in order to check if the platform is tenant scoped or not
Motivation
The broker public plans interceptor (resyncPlanVisibilitiesWithSupportedPlatforms) does not distinguish between public plan visibilities & tenant scoped platform visibilities. This leads to incorrect visibilities removal if a non-public plan visibility exists for a sub-account platform and the broker is updated.
Approach
Pull Request status