Skip to content

Add Admin API endpoints to manage user reports#19657

Open
H-Shay wants to merge 5 commits intoelement-hq:developfrom
H-Shay:shay/user_reports
Open

Add Admin API endpoints to manage user reports#19657
H-Shay wants to merge 5 commits intoelement-hq:developfrom
H-Shay:shay/user_reports

Conversation

@H-Shay
Copy link
Copy Markdown
Contributor

@H-Shay H-Shay commented Apr 6, 2026

Adds Admin API endpoints to list, fetch and delete user reports from the homeserver. Follows on from #18120, which added the endpoints to report users.

@H-Shay H-Shay requested a review from a team as a code owner April 6, 2026 22:33
@H-Shay H-Shay force-pushed the shay/user_reports branch from 0899675 to 873a75a Compare April 6, 2026 22:51
@H-Shay
Copy link
Copy Markdown
Contributor Author

H-Shay commented Apr 6, 2026

Test failure looks to be a flake.

Copy link
Copy Markdown
Member

@erikjohnston erikjohnston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise looks good

Comment thread synapse/rest/admin/user_reports.py Outdated
Comment thread synapse/rest/admin/user_reports.py Outdated
Comment thread synapse/storage/databases/main/room.py Outdated
Comment thread synapse/storage/databases/main/room.py Outdated
Comment thread synapse/storage/databases/main/room.py Outdated
Comment thread tests/rest/admin/test_user_reports.py Outdated
Comment thread tests/rest/admin/test_user_reports.py Outdated
@H-Shay
Copy link
Copy Markdown
Contributor Author

H-Shay commented Apr 14, 2026

Test failure again is flake

@H-Shay H-Shay requested a review from erikjohnston April 14, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants