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

HTPasswd IDP: Upload HTPasswd file (frontend validation)

XMLWordPrintable

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

      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.  This can be done during initial creation of the HTPasswd IDP (via the 'HTPassword' section of create form), or afterwards (day 2) via "Edit HTPasswd users" page via a new "Upload HTPasswd file" modal -which contains the same 'HTPassword' section, but now in a modal.

      Location in OCM UI: Cluster Details > Access Control > Add IDP:  Add HTPasswd IDP

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

       

      Implementation Details:

      • Show contents in upload file text area and validate upon selecting file or hitting [Create]
      • We need to replace Password values with '*******'
      • Basic Validation: 
        • validate all Passwords
        • validate usernames, 'IDP for cluster' as we would do for single entry
        • detect general JSON/file formatting errors.
        • Show general error message(s) below text area
      • Advanced Validation: show errors in-line, in text area.
        • Stretch goal based on what patternfly supports here.
      •   "Upload HTPasswd file" modal:
        • Upload an HTPasswd file dlg.

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

                Created:
                Updated: