Admin user can accidentally remove self #456

Closed
yakatz opened this Issue Apr 10, 2013 · 1 comment

Projects

None yet

2 participants

@yakatz
yakatz commented Apr 10, 2013

It should not be possible for an admin to lock themselves out of the program.
https://github.com/errbit/errbit/blob/master/app/controllers/users_controller.rb#L38 is probably around where is should go.

@shingara
Member
shingara commented May 8, 2013

Can be a good to avoid this issue.

@shingara shingara closed this in f240944 Jun 8, 2013
@opsidao opsidao added a commit to opsidao/errbit that referenced this issue Jul 8, 2013
@shingara @opsidao shingara + opsidao Avoid user delete admin access of current user logged
Fix #456
9d75fcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment