element-hq / element-hq/synapse
`/make_room_admin` admin API should check if the user is already an admin before updating PLs
Open
A-Admin-API
O-Uncommon
S-Tolerable
T-Defect
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#9174](https://github.com/matrix-org/synapse/issues/9174).
---
As otherwise the request fails with
```
body: {
errcode: 'M_UNKNOWN',
error: 'No local admin user in room with power to update power levels.'
},
```
which is misleading.
Contributor guide
Assessment
This issue has not been assessed yet.