Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
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:
- Log into FOLIO-snapshot as diku_admin
- 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
- With the list of new users, edit one of them and assign all permissions (currently 187) ,and Save
- 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
- 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
- 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
- is cloned by
-
MODPERMS-98 BE - Screen flashes and not all permissions added if you're trying to add them too quickly
-
- Closed
-
- is duplicated by
-
UIU-1230 Assigning multiple (or all) permissions takes several minutes and gets interrupted
-
- Closed
-
-
UIU-1400 Assigning all 195 permissions takes 80 seconds and gets interrupted
-
- Closed
-
- relates to
-
UIU-1249 Permission assignment sometimes saving more or less than selected
-
- Closed
-
-
MODPERMS-99 Don't return metadata on PUT /perms/users/<id>
-
- Closed
-
-
MODPERMS-100 PUT requests require a createdByUserId
-
- Closed
-