matrix-org / matrix-org/mjolnir
Allow an unban in one list to take precedence over a ban in another
- Dominant language
- TypeScript
- Stars
- 445
- Forks
- 75
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 3
Description
If you are subscribing to another list (read only) you should be able to have a way to overrule actions taken on that list by adding things to one of your own banlists.
The most logical way to do this to me would to have list have priorities and have unbans in higher priority lists overrule bans in lower priority ones. By default I would suggest that read only lists have lower priorities than writeable ones so this functionality works without extra config.
Contributor guide
Research direction
The issue names no files, tests, or entry points, so first locate where subscribed ban lists and local ban or unban decisions are evaluated. Review how read-only and writable lists are represented before deciding how priorities should be defined. Done means an unban in a higher-priority writable list overrides a ban from a lower-priority read-only list, with the default priority behavior described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100