synapse/tests/rest/admin
Shay 11a11414c5
Add an option to issue redactions as admin user on admin redaction endpoint (#18671)
Currently the [admin redaction
endpoint](https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#redact-all-the-events-of-a-user)
defaults to puppeting the user being redacted. This PR adds an optional
param `use_admin`, which when provided issues the redactions as the
admin user instead.
2025-07-21 16:40:45 +00:00
..
__init__.py Update license headers 2023-11-21 15:29:58 -05:00
test_admin.py Store hashes of media files, and allow quarantining by hash. (#18277) 2025-03-27 17:26:34 +00:00
test_background_updates.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_device.py Move device changes off the main process (#18581) 2025-07-18 09:06:14 +02:00
test_event_reports.py Add some useful endpoints to Admin API (#17948) 2024-12-16 13:27:34 -06:00
test_federation.py Fix typo in error message when a media ID isn't known (#17865) 2024-11-12 16:41:14 +00:00
test_jwks.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_media.py Store hashes of media files, and allow quarantining by hash. (#18277) 2025-03-27 17:26:34 +00:00
test_registration_tokens.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_room.py Don't move invited users to new room when shutting down room (#18471) 2025-05-23 09:59:40 +01:00
test_scheduled_tasks.py Add an Admin API endpoint to fetch scheduled tasks (#18214) 2025-05-01 18:30:00 +00:00
test_server_notice.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_statistics.py Fix typo in error message when a media ID isn't known (#17865) 2024-11-12 16:41:14 +00:00
test_user.py Add an option to issue redactions as admin user on admin redaction endpoint (#18671) 2025-07-21 16:40:45 +00:00
test_username_available.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00