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

HTPasswd IDP: Upload HTPasswd file (backend validation)

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None

      Once OCM fully supports HTPasswd as a regular IDP, it needs to be added to the OCM website along with the rest of the IDPs. Each cluster should support multiple HTPasswd IDPs and each HTPasswd IDP should support multiple user:password entries.

       

      This story deals with allowing a user to upload a HTPasswd file which may contain multiple username/passwords.  The UI will show the contents of the file, but not attempt to validate or obfuscate passwords.  In this initial phase, UI will just send the file contents to the backend, which will return a validation error message if applicable. 

      Mockups: https://marvelapp.com/prototype/17g6642j/screen/87630058

       

      Implementation Details:

      • on Add HTPasswd page, add radiobuttons for 'Add user manually' and 'Upload an HTPasswd file'.  The 'Add user manually' will show the add a single user and password controls which currently exist.
      • Add upload file text area
      • When switching between radiobuttons, need to show confimation messages:
      • After hitting  [Create] user is redirected to Edit IDP page with new expandable users section.   Users can only delete and recreate user(s).

        1. image-2022-08-03-11-50-37-200.png
          64 kB
          David Taylor
        2. image-2022-08-03-11-51-38-464.png
          72 kB
          David Taylor
        3. image-2022-08-22-14-01-22-977.png
          17 kB
          David Taylor
        4. image-2022-09-12-14-58-41-868.png
          133 kB
          David Taylor
        5. image-2022-09-12-15-01-00-081.png
          61 kB
          David Taylor
        6. upload.png
          19 kB
          David Taylor

              Unassigned Unassigned
              dtaylor@redhat.com David Taylor
              Yu Wang Yu Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: