Deactivated by staff not being logged


(Kartik Singhal) #1

Actually that doesn’t show the list of deactivated users. Any other way to see them? I deactivated three users earlier this week and cannot find the list even in the staff action log.


Tab to see deactivated users
(Mittineague) #2

You can go to
Admin -> Logs -> Staff Actions
and filter by
deactivate user

The users that were deactivated should appear beneath Subject

They don’t?


(Kartik Singhal) #3

Nope:

(turns out there were four that I deactivated, and I have no idea who)


#4

I can see the same thing here. The username showed under Subject last year (our last deactivated user showing was Feb '17) but not this year.


(Kartik Singhal) #5

So if this is a confirmed bug, can someone look at it? Do I need to file a bug report elsewhere?


#6

I’m not confirming that it’s a bug (it may have been deliberate), just that I can see the same thing here.

That said, I’ll recategorise so that we can get confirmation.


(Jeff Atwood) #7

Sure, @techapj if you can repro maybe a quick fix?


(Arpit Jalan) #9

Deactivated user doesn’t show up (under subject) in logs if they are deleted. This is because we store target user ID in logs, and if that user gets deleted there is no associated account with that ID.

I added the location as context to deactivated user logs which contains user ID and username via:

This is how the “deactivate user” log will look now:

Note that this change will apply on all future deactivations.


(Jeff Atwood) #10