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

Delete htpasswd users dialog - Delete and Cancel buttons are not disabled during API call

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • True

      Environment: Staging

      URL: https://console.dev.redhat.com/openshift 

      (Any cluster → Access Control → Edit HTPasswd IDP → Select users → Click Delete)

      Browser: All

      OS: All

      Priority: High (Can cause duplicate API calls / data corruption)

      Reproduction Steps:

      1. Navigate to an HTPasswd IDP with multiple users
      2. Select some users using checkboxes
      3. Click the "Delete" button to open the modal
      4. Click "Delete users" button
      5. Quickly click "Delete users" again before the API completes

      Note: Same applicable for "Cancel" button and its functionalities

      Current Result:

      • The "Delete users" button remains enabled during the deletion process
      • User can click multiple times, triggering multiple API calls
      • Could cause errors or duplicate deletion attempts

      Expected Result:

      • "Delete users" and "Cancel" buttons should be disabled while deletion is in progress
      • Button should show loading state (spinner or "Deleting...")

       

      See the attached recording Screen Recording 2025-12-05 at 4.24.39 PM.mov

              jcaiani@redhat.com Joseph Caiani
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: