Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Listing user's media doesn't list just user's media #11858

@matrix07012

Description

@matrix07012

Description

I'm fairly certain that admin API for listing all media of a user lists media from all the rooms the user is in instead, because listing mine shows a ton of media that I never uploaded.

Steps to reproduce

curl --header "Authorization: Bearer <token>" "http://localhost:8008/_synapse/admin/v1/users/@myaccount:foo.bar/media?dir=b&from=0&limit=50&order_by=created_ts"

Version information

Synapse 1.51.0 on Ubuntu 20.04.3 install with from the deb repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Admin-APIS-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions