ThreatKB icon indicating copy to clipboard operation
ThreatKB copied to clipboard

Allow for user deletion.

Open pedramamini opened this issue 6 years ago • 5 comments

pedramamini avatar Nov 01 '18 11:11 pedramamini

Works for some, but not for others. Try deleting the ‘stephen’ account for example.

pedramamini avatar Dec 05 '18 19:12 pedramamini

This is fixed now. There were some foreign key constraints failing. I changed it to a soft delete of users since hard deletes would involve a lot of artifact re-assignments for created_by, modified_by, ownership, etc.

danny248 avatar Dec 10 '18 03:12 danny248

Still not seeing this working. Now the deleted users appear with a ghosted out deletion icon.

pedramamini avatar Dec 12 '18 05:12 pedramamini

This is intended. We can't hard delete users because they are tied to artifacts ownership, modified, created, etc.

danny248 avatar Jan 02 '19 00:01 danny248

In that case. If it's trivial enough, let's break the users list into two sections. Active and inactive.

pedramamini avatar Mar 22 '19 08:03 pedramamini