openbmc / phosphor-webui

Web-based user interface for managing OpenBMC systems
Apache License 2.0
37 stars 25 forks source link

GUI: Design: Customer with 32 character minimum password requirement #93

Open jspatz1 opened 5 years ago

jspatz1 commented 5 years ago

Use Case

In "Add User" modal: If user password exceeds 20 characters, validation text notifies the admin/user that

  1. their initial password is too long
  2. they will later have the opportunity to change this password to a longer length

In "Modify User" modal If user password is changed to a length of over 20 characters, a warning notifies the admin/user that

  1. a password of longer than 20 characters will result in the user losing IPMI access

InVision Prototype

Add User modal: Error message for initial PW over 20 characters. https://ibm.invisionapp.com/share/V2NZ99JW6DN -when 21st character is typed in "user password" text field the red validation message appears -validation message disappears when password is less than 21 characters

Modify User modal: PW over 20 characters // warning user will lose IPMI access. https://ibm.invisionapp.com/share/GANZ99GXPB7 -when 21st character is typed in "user password" text field yellow warning message appears -yellow warning message disappears when password is less than 21 characters note: all users are by default part of the IPMI group so this message will appear for any user who attempts to modify their password to greater than 21 characters

References

https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/19574 will cause problems