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

Screen flashes and not all permissions added if you're trying to add them too quickly

    XMLWordPrintable

Details

    • Core: F - Sprint 97
    • 5
    • Prokopovych
    • GBV, Simmons

    Description

      Overview: If you create several users and then try to add permissions quickly, weird things happen

      Steps to Reproduce:

      1. Log into FOLIO-snapshot as diku_admin
      2. Go to the users app and create several staff users; name them in a way that you can bring them up in a list when you search users. DO NOT assign permissions to them
      3. With the list of new users, edit one of them and assign all permissions (currently 187) ,and Save
      4. Immediately go to the next User and try to edit/assign all permissions to the second user

      Expected Results: When assigning permissions to User 1, after saving, the permissions in the detail display take a while to count up to 187. If I start assigning permissions to User 2 before User 1's detail view has reached 187, I should be able to 1) display the edit mode of User 2's record, and add permissions for User 2, without interrupting whatever is happening to User 1.

      Actual Results: 2 different things happen, depending on how fast I add permissions

      1. When I try to edit User 2, I get a flashing screen that never settles down. I have to go back to the Users landing page and start over
      2. If User 1's permissions have not finished being added, sometimes the permissions add for User 1 will just stop, and it will start adding permissions to User 2. You can see that with one of the examples in the video, where only 48 permissions were added, even though I selected all.

      Additional Information: See attached video

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mattjlc Matt Connolly
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases