Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-1671

do not create credentials record when adding username

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Core: F - Sprint 90
    • Story Points:
      3
    • Development Team:
      Prokopovych

      Description

      When a username is added to a record, either on creation or on edit, the UI currently creates a credentials record with an empty password. Man alive that ain't right.

      It seems likely this was implemented to work around MODUSERBL-96. If that can't be closed in time, an alternative implementation would be to call the authn/credentials-existence endpoint when a user clicks the “send reset password” link on the user-edit screen and if that request returns false to create a credentials record with a random password. I don’t love this, but it would unblock the ticket and I think it’s better than immediately creating empty-string password records for all users at the time a username is created: (a) no accounts will have empty-string passwords and (b) these passwords will exist for a shorter period of time since, presumably, the recipient of the email is about to reset the password.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                zburke Zak_Burke
                Reporter:
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases