Background
In T414979: Close the cases when all accounts are already blocked a mechanism for closing SI cases where all users are blocked was implemented. For now, it applies only to accounts blocked locally. However, another common scenario is that an account is globally blocked, in which case we don't need to wait for a local block to apply auto-closure.
User story
As a checkuser:
- I don't need to differentiate whether an account in case is blocked globally or locally
- I don't need to investigate accounts that were blocked globally, because they were already handled at "higher level"
Acceptance criteria
- Cases that consist only of users blocked locally and/or globally are automatically closed
- If $wgApplyGlobalBlocks is set to false, globally blocked accounts are ineligible for auto-closure
- If an account is globally blocked, but the block is unset locally, the account should be treated as globally unblocked for auto-closure check
Non-goals of this task (will be handled in separate tasks):
- Globally blocking an account doesn't need to trigger automatic closure
- Whether an account is locked doesn't need to be checked as part of this task