Open gwensmithx opened 1 year ago
I was able to replicate it on an atomic site. Account B uploaded a video on Account A's site and the activity logs show that it was Account A who uploaded the video. It should be Account B.
Issue is not replicated on a simple premium site.
📌 ACTIONS
High
to Normal
to better reflect its status in the larger context of open bugs in this repo.Based on initials findings it seem that videopress calls out to the /media/new
endpoint using a blog token that was generated in Jetpack with wpcom_json_api_request_as_blog
. I suspect that because it uses the blog token to manage uploads the attachment is created under the site owners name as it does not know who uploaded the file. Maybe uploading with a user token instead of a blog token might resolve the issue.
Quick summary
I worked with a site owner today who had multiple user accounts on their site and they were saying that regardless of what account a video file was uploaded from, it always showed their username (the site owner) in the wp-admin meta data window (clicking edit in the wp-admin).
This seems to only affect AT sites and it also shows the site owner perform the action in the Activity log as well even though they did not upload the video from their account.
Steps to reproduce
What you expected to happen
I expected the username to reflect the account username that performed the action.
What actually happened
The account username that is associated with the media uploads is always the site owner regardless of which user account performed the action.
Impact
All
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Atomic
Logs or notes
No response