Red Hat Bugzilla – Bug 1479769
Bad error message when logged user try to remove himself
Last modified: 2017-08-15 01:01:57 EDT
Description of problem: When you want to remove user which is currently logged wrong error message appears
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create user "tuser1"
2.log in as "tuser1"
3.try to delete yourself
Error message is green and shows "Successful" but error message say "you cannot remove yourself while you are logged in"
Error message should be red and show ERROR and not Successful
Rox, is it right that user can see delete button for his own account? After clicking on delete button the user gets green message, see screenshot - in top right corner. I wonder if we should show the button in the first place. I'd suggest disabling with it tooltip on hover explaining why it's disabled. Thanks for your input.
Created attachment 1311792 [details]