Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Deletion of last user #4069

Closed
modxbot opened this issue Mar 16, 2011 · 1 comment
Closed

Avoid Deletion of last user #4069

modxbot opened this issue Mar 16, 2011 · 1 comment
Labels
area-security proposal Proposal about improvement aka RFC. Need to be discussed before start implementation.

Comments

@modxbot
Copy link
Contributor

modxbot commented Mar 16, 2011

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.

@splittingred
Copy link

splittingred submitted:

Awaiting integration: #90

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-security proposal Proposal about improvement aka RFC. Need to be discussed before start implementation.
Projects
None yet
Development

No branches or pull requests

2 participants