Don't change 'last seen' when impersonating a user

When - as an admin - you impersonate a user, their last seen is updated. That is of course because you completely impersonate the user as if he were behind the keyboard.

But… you’re not the user. You might use that option to quickly check something from the point of view of the user.

So, is it possible to skip updating the last seen? And maybe there are other things that should not be updated when logged in through the admin account.

12개의 좋아요

I agree, its something that would be handy for diagnostics.

이 오래된 주제가 #impersonate와 관련되어 있고, 현재 Add 'stop impersonating' link to user avatar dropdown when impersonating - #41 by ted 에서 논의되고 있기 때문에 삭제된 것을 복원했습니다.

OP(원문 게시글)에서 언급된 동작이 2013년과 동일하게 유지되고 있음을 확인했습니다. 특정 사용자를 임의대로(impersonate) 하면 해당 사용자의 마지막 확인 날짜가 업데이트됩니다. 이는 관리자 사용자 목록을 확인하면 쉽게 재현할 수 있습니다. 몇 년간 접속 기록이 없던 사용자를 개인 사이트에서 임의로 조작해 보니, 해당 사용자가 목록에서 두 번째로 올라와 있었습니다.

공용 사용자 목록과, 해당 플러그인이 설치된 경우 ‘현재 온라인’ 목록에서도 동일한 문제가 발생할 것으로 추정됩니다.

1개의 좋아요

이미 삭제되지 않은 기능 요청이 있었던 것 같습니다

Suggestion: Impersonating an account should not affect "last seen" date

2개의 좋아요

좋은 지적입니다! 이 후속 주제에서 대화가 계속됩니다:

1개의 좋아요