Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-1721

[ROSA Hypershift V1 Wizard] The "External Authentication" property shown in wizard "Review and create" section although user has no capability related to the same available for the org.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Core UI
    • False
    • Hide

      None

      Show
      None
    • False
    • OCM Core Sprint 253

      Description of problem:

      User has no capability definition (capability.organization.hcp_allow_external_authentication) related to external authentication exists in ocm org. In ROSA Hypershift wizard flow, there was no such UI definition(ex: checkbox on the wizard that will enable external authentication) seen as expected but in "Review and create" step, there was property definition "External Authentication" indicated as Disabled. This seems confusing ex: for users, there were no option to enable/disable the external authentication in wizard . I would recommend to hide showing  "External Authentication" properties from review page  when there is no such capability exists in org.

      See the recordings ExternalAuthenticationCheckboxIssue.mp4

      How reproducible:

      always

      Steps to Reproduce:

      1. Open OCM UI staging and login with user from an org that doesn't have any external authentication capability exists (capability.organization.hcp_allow_external_authentication)
      2. Launch ROSA Wizard and select control plane as "Hosted".
      3. Fill all required fields on each step and reach "Review and create" page.
      4. Verify the properties under "Cluster settings".

      Actual results:

      At Step 4, "Review and create" page indicated wrongly shown the property  "External Authentication" indicated as Disabled although user has no option to enable or disable them via Wizard UI due to missing capability related to external authentication in their ocm org.

      Expected results:

      At Step 4, "Review and create" page do not show any property "External Authentication".

      Show only those properties when it is visible in wizard Cluster settings step and enabled/disabled by user. It makes more appropriate and aligned the functionality of "Review and create" page requirements.

            zherman Zac Herman
            jmekkatt@redhat.com Jayakrishnan Mekkattillam
            Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: