Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Display date a specific user was added to a site under User list #60705

Open filipanoscampos opened 2 years ago

filipanoscampos commented 2 years ago

What

WordPress.com site admins can access a full list of all the users on a site, but they have no way to know when a specific user was added from the WordPress.com dashboard.

Why

It would be helpful for websites that manage many users, and sometimes users with similar usernames and emails, to be able to know when specific users were added to the site. that.

It was also requested by a user: 33951130-hc

How

This could be achieved simply by displaying this information under the user profile settings to website admins.

mpkelly commented 2 years ago

Hi @filipanoscampos, we have looked at this change internally and decided not to go ahead with it. The problem is that we only have the date the account was created available, and this can be confusing if the account exists across multiple sites - it might be fine for the user in the Happy Chat but the change would affect all users. Ideally, we'd have the date the user was added to a specific site but don't appear to track this date.

For posterity: part of our internal discussion is at D83578-code

filipanoscampos commented 2 years ago

That is a pity, thanks for updating me @mpkelly

daledupreez commented 2 years ago

To provide additional context, the issue is that we are not currently recording the time the user was added to the site. This means that adding this data requires not only recording that value when users get added to sites moving forward, it also involves working out when users got added to sites in the past, which is even more complex (though I believe we have relevant data available in our internal blog audit trail).

I will also look at whether this is something that has been requested as core functionality for WordPress multi-site.

daledupreez commented 2 years ago

I was not able to find a relevant enhancement request in WordPress Core, so I created issue 56207 to request the feature. It's possible this won't be added to Core, in which case we will need to consider whether this is a feature we want to add to WordPress.com.