satrun77 / tinyissue

Simple Issue Tracking for Teams
MIT License
48 stars 8 forks source link

BUG: Dropdown for adding users show deleted users as 'Anonymous' #126

Closed nickbe closed 8 years ago

nickbe commented 8 years ago

My database contains lots of deleted users. Is it in fact necessary to retain deleted users at all?

satrun77 commented 8 years ago

This is part is still based on original project. The users should not be visible to anyone, they should not be able to login. But kept in database because they may have other related data (ie. added comments, issues, ...etc).

nickbe commented 8 years ago

Ok. I suggest we simply delete them then - along with all references as owners or commentors and display missing references as "Anonymous" instead.

satrun77 commented 8 years ago

Not sure I understand.

nickbe commented 8 years ago

I think deleted users should be deleted for good and not marked as deleted.

With them you should also remove the references to those users.

satrun77 commented 8 years ago

Then you loose everything they have done. We have developers joining the company. Work on issues make comments and upload files .... When these developers leaves the company, if we delete everything they have done, then we loose all the info.

You need the database records, it just need to be not selectable.

nickbe commented 8 years ago

When logged in as manager and assigning users to a project I see lots of anonymous entries. I do think a manager should always see a complete list of names without any reference to the public status of a user.

nickbe commented 8 years ago

Looks good now. Thanks and closed.