Avoid Deletion of last user #4069
Labels
area-security
proposal
Proposal about improvement aka RFC. Need to be discussed before start implementation.
Milestone
pedley created Redmine issue ID 4069
ok I know I was stupid, But I was working with a front end script that created extended users, all worked fine, until it came to needing to clear out the users after testing that particular part. I deleted them using the manager system, but got a little overenthusiastic and selected all users and forgot to uncheck the main admin user.
Hit delete and ummmmm deleted all access to the manager. Thankfully I knew enough to rebuild the user using phpmyadmin, but I can see a time a user does exactly the same and can't rebuild.
So some sort of check to see if the delete removes the last member of admin or at the very least the last member and asks are you sure.
The text was updated successfully, but these errors were encountered: