This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Inaccurate error message: "You don't have permission to ban" when banning or unbanning someone with same or higher PL. #16202
Labels
good first issue
Good for newcomers
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
When possessing the power level to ban, this error message is inaccurate and confusing to users with clients that pass through some error messages from Synapse to the user (e.g. Mjolnir/Draupnir and Nheko).
Steps to reproduce
Instead it should say something like:
"You don't have permission to ban this user" or "You don't have a high enough power level to ban this user".
Homeserver
localhost
Synapse Version
{"server_version":"1.90.0","python_version":"3.11.4"}
Installation Method
Docker (matrixdotorg/synapse)
Database
PostgreSQL
Workers
Single process
Platform
NA
Configuration
No response
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: