Admins changing user's name (not username) should be logged

Not sure if this is a bug or a feature, but it looks like when you edit a user’s name, it’s not logged at all as far as I can tell. So for example, if I, as an admin, go to a different user’s preference page, and set the “Name” field. The same goes for if you set it through the admin panel.

That should probably be logged, shouldn’t it?

1 Like

Seems like a reasonable request and a good starter task cc @erlend_sh

4 Likes

Hi @codinghorror ,
I looked for this bug and I was able to reproduce it.

On investigation, I found out that change of name was getting logged in UserHistory table but it is not shown in UI because it is not a part of staff_actions. I will try to submit PR for this change.

Let me know if you have any suggestions.

Thanks

10 Likes

Awesome :confetti_ball:

2 Likes

Merged! Thank you @saurabhp

8 Likes