Admin should not be allowed to delete themself via admin bulk delete
Bug #1574941 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned |
Bug Description
Currently it is possible to go to Administration -> Users and select some users, including yourself, and then bulk delete them.
The system should do at least these two checks:
1) Make sure the users you are deleting do not include the user you are logged in as / masquerading as
2) Make sure the users you are deleting leave at least one site admin on the site
Otherwise you can end up with pain
Changed in mahara: | |
milestone: | none → 16.10.0 |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
preferably leave the site admin that is called 'admin' at user id= 1 if that exists