Project

General

Profile

Actions

Bug #7733

closed

User Manager deletes non-selected users

Added by Tom Wijnroks over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
User Manager / Privileges
Target version:
Start date:
07/28/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.4
Affected Architecture:

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)

Actions #1

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.

Actions #2

Updated by Jim Thompson about 7 years ago

  • Assignee set to Jim Pingle
Actions #3

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.

Actions #4

Updated by Jim Pingle about 7 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #5

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!

Actions #6

Updated by Jim Pingle about 7 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF