-
Story
-
Resolution: Done
-
Critical
-
None
-
None
-
5
-
True
-
False
-
HAC Infra OCM - Sprint 240, HAC Infra OCM - Sprint 241, HAC Console Sprint 243
Currently, managed-policy ARNs are not supported for Rosa Classic, as such we should not show managed-policy ARN sets in the Rosa Classic wizard flow.
The current filter is:
AccountRolesARNsSection.jsx#L216-216
const accountRolesARNs = get(getAWSAccountRolesARNsResponse, 'data', []).filter((arn) => // TODO: restore when managed policies are in place // isHypershiftSelected ? arn.hcpManagedPolicies : !arn.hcpManagedPolicies, isHypershiftSelected ? true : !arn.hcpManagedPolicies, );
I believe this should be updated to:
const accountRolesARNs = get(getAWSAccountRolesARNsResponse, 'data', []).filter((arn) => isHypershiftSelected ? true : (!arn.hcpManagedPolicies && !arn.managedPolicies), );