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

Fixes #6606 - Allow deletion of non-admin users if there's only one admin #1584

Closed

Conversation

daviddavis
Copy link
Contributor

Apologies if this is a dupe but I searched and didn't see anything in redmine/github.

@lzap
Copy link
Member

lzap commented Jul 15, 2014

No need to apologize. Reproduced, tested, works for me, unit tests green. Thanks for the contribution.

@lzap
Copy link
Member

lzap commented Jul 15, 2014

Mind adding one extra test for this?

@daviddavis
Copy link
Contributor Author

@lzap will do.

EDIT: Updated with a test.

When deleting users, you get an error message if there's only one admin account
even if the users aren't admins.
@domcleal
Copy link
Contributor

Thanks @daviddavis, merged as 7096627 for Foreman 1.6.0.

@domcleal domcleal closed this Jul 21, 2014
timogoebel added a commit to timogoebel/foreman that referenced this pull request Dec 9, 2015
timogoebel added a commit to timogoebel/foreman that referenced this pull request Dec 9, 2015
timogoebel added a commit to timogoebel/foreman that referenced this pull request Dec 9, 2015
domcleal pushed a commit that referenced this pull request Dec 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants