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

Disable user status select menu as interim fix to bugs with user activation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Won't Do
    • None
    • None
    • Prokopovych

    Description

      Background: Expired users are automatically set to inactive. It used to also be possible to manually set a user to Inactive when not expired. This manual setting of users to inactive stopped working over a year ago and returning the feature to its previous functionality may be complex (see UIU-913 for SPIKE covering the initial analysis for the work that needs to be done).

      Purpose: The purpose of this issue is to specify an interim "fix" that will make the feature feel less broken and may reduce the priority of getting it back to its original functionality. We can pursue this when/if it becomes apparent that reverting to original functionality is very difficult.

      Additonal info: If a user has 5 failed attempted logins, their account will be locked and their Status will automatically change to Inactive. In this situation, it is possible to manually change the user record to Active.

      Scenario:

      1. Scenario
        • Given a user record is expired
        • When the Status field is displayed on the user edit form
        • Then:
          • The menu should be disabled
          • The selected value should be "Inactive" (this is already working)
          • "User has expired" should display in red text below the disabled menu (this is already working)
      2. Scenario (this is already working)
        • Given a user record is expired
        • When they have 5 failed login attempts
        • Then the user record should appear like any other expired user record:
          • The menu should be disabled
          • The selected value should be "Inactive" (this is already working)
          • "User has expired" should display in red text below the disabled menu (this is already working)
      3. Scenario
        • Given a user record has no expiration OR a future expiration date specified AND is not "locked" due to 5 failed login attempts
        • When the Status field is displayed on the user edit form
        • Then:
          • The menu should be disabled
          • The selected value should be "Active" (this is already working)
      4. Scenario
        • Given a user record has a future expiration date specified AND is "locked" due to 5 failed login attempts
        • When the Status field is displayed on the user edit form
        • Then:
          • The menu should be enabled (this is already working)
          • The selected value should be "Inactive" (this is already working)
          • "User login has been locked due to failed login attempts" should display in red text below the disabled menu

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                cboerema Cate Boerema
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases