Bug #7733
closedUser Manager deletes non-selected users
100%
Description
The User Manager seems to delete non-selected (wrong) users when using the 'red' delete button on the bottom of the Users page. It seems that, after deleting one or more users, a hard page refresh is required first, else it somehow uses the next user ID on the users page.
Steps to reproduce:
1. Go to System > User Manager > Users
2. Add 3 users, for example: aaa, bbb, ccc
3. Select user 'aaa' and use the red delete button (the one at the bottom)
4. Now select user 'bbb' and again, use the red delete button
5. The result is: "User ccc successfully deleted."
If you would have selected user 'ccc' in step 4, it would try to delete the admin user, which luckily is not possible.
This also happens if you select/delete multiple users. I ran into this because it deleted 3 users i didn't select.
Software i used to test:
- pfSense: 2.3.4-RELEASE-p1 (amd64)
- Chrome 59.0.3071.115 (Official Build) (64-bit)
- Firefox 54.0.1 (64-bit)
Updated by Jim Pingle about 7 years ago
- Target version changed from 2.3.4-p2 to 2.4.2
I can't reproduce this as stated, the second delete attempt actually does nothing, rather than deleting anything as the issue description says. We will need more time to investigate.
Updated by Jim Pingle about 7 years ago
This turned out to the same sort of issue as #7682 (on a different page, however), and a similar fix addressed the problem. Fix will be pushed momentarily.
Updated by Jim Pingle about 7 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 92c27793b4c7f87e89aec3faec5582c17502d6d5.
Updated by Tom Wijnroks about 7 years ago
Jim Pingle wrote:
This turned out to the same sort of issue as #7682 (on a different page, however), and a similar fix addressed the problem. Fix will be pushed momentarily.
Thanks for fixing it Jim!
Updated by Jim Pingle about 7 years ago
- Status changed from Feedback to Resolved