Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-4434

[ROSA Classic Wizard] Do not show Managed Policies ARNs

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

      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),
      );
      

              jschuler_kafka_devexp Joachim Schuler
              dtaylor@redhat.com David Taylor
              Archiver:
              rhn-support-sthamilt Stacey Hamilton
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam

                Created:
                Updated:
                Resolved:
                Archived: