ckan/ckan — pull request #1668 by nigelbabu (2014-05-07 05:58:11+00:00)
Title: Deleted Users bug

I am running ckan 2.2 and I deleted an user using the command :
"paster user remove user_name -c /etc/ckan/default/production.ini"

this, removes the user from the list shown at the page myckanaddress/user but if I do "paster user list -c /etc/ckan/default/production.ini", the user that I deleted is still there.

As @nigelbabu said: "This is because deleted users are not completely deleted from the database. The state is marked as deleted. However, you're right. We should either not show users in deleted state or show the state when `paster user` is called from the command-line"