matrix-org / matrix-org/matrix-spec
Moderators should be able to demote themselves
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
I think users who have been made moderators (PL50) should be able to demote themselves removing that power from them without needing to consult administrators (PL100). Currently PL50 can be stuck with their PL50, because they need PL100 to change the power levels and if they try to /deop @MyOwnMXID:example.net the result is:
You don't have permission to post that to the room. user_level (50) < send_level (100)
With Atheme IRC services, there is special case in ChanServ help flags:
If you do not have +f you may still remove your own access with -*.
where +f allows adding/removing flags (how permissions are given with Atheme) that you have to other users except the founders.
I hope that I opened this at the right place and this isn't a duplicate, I tried searching and the closest that I found was #652.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Matrix specification text that defines power levels and the /deop command, then compare the current PL50 and PL100 permission rules with the requested behavior. Done means the specification clearly permits a moderator to remove their own moderator power without requiring PL100, while preserving the existing restrictions on changing other users' power levels.
Written by the indexing model from the issue text.
Assessment
- Domain
- authorization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100