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

[OCM UI] "Add user" link enabled when anyone of existing username , password  and confirm password fields are empty or filled with invalid values.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • A-Team
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Sprint 249, ACM Console Sprint 251

      Description of problem:
      Under "Access control" > HTPasswd page for any ROSA/OSD cluster, the link to adds multiple user i.e. "Add user" link is enabled when anyone of existing username , password  and confirm password fields are non empty. Probably this is not correct and the validation should be -
      "Add user" link should be enabled only when

      1. All existing username , password  and confirm password fields are non empty and filled with valid values.

      "Add user" link should be disabled when

      1. Anyone of existing username , password  and confirm password fields are empty
      2. Anyone of existing username , password  and confirm password fields are filled with invalid values. 

       

      How reproducible:

       Always

      Steps to reproduce:

      1. Launch OCM Staging.
      2. Open a ROSA/OSD cluster.
      3. Go to "Access control" tab > Identity providers > htpasswd.
      4. Fill only username field and see the "add user" link behavior.
      5. Fill password field with invaid value and see the "add user" link behavior.

      Actual results:

      "Add user" link enabled when

      1. Anyone of existing username , password  and confirm password fields are empty
      2. Anyone of existing username , password  and confirm password fields are filled with invalid values. 

      This is wrong.

      Expected results:

      "Add user" link should be enabled only when

      1. All existing username , password  and confirm password fields are non empty and filled with valid values.

      "Add user" link should be disabled when

      1. Anyone of existing username , password  and confirm password fields are empty
      2. Anyone of existing username , password  and confirm password fields are filled with invalid values. 

              rbrunopi Randy Bruno-Piverger
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Denis Ragan Denis Ragan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: