-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
True
-
-
False
-
XCMSTRAT-1005 - M2: htpasswd expanded UI
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]
- Do we need to replace Password values with '*******'? Do we then need a hide/reveal icon?
- Basic Validation:
- validate all Passwords
- validate usernames, 'IDP for cluster', other props?
- detect general JSON/file formatting errors?
- Show general error message(s) below text area
- Advanced Validation: show errors in-line, in text area.
- It's probably going to be the same component, but same validation needs to be applied on Edit "HTPasswd users page", "Upload HTPasswd file" modal:
- Upload an HTPasswd file dlg.
- Upload an HTPasswd file dlg.