In T414979: Close the cases when all accounts are already blocked a mechanism for automatically closing certain cases was implemented. This mechanism is triggered when user is locally blocked. However, the other kinds of blocking do not invoke it now.
Given that we'd like all three kinds of blocks (local, global, and blocks) to allow for auto-closing, we should treat all of them as triggers for auto-closure.
Acceptance criteria
Unblocked, without a specifier means "not affected by any of the three types of blocks"
- When there's only one unblocked user in a SI case, and this user gets globally blocked, auto-closure job is triggered on the wiki where the global block was placed. (As long as $wgApplyGlobalBlocks is true on that wiki).
- When there's only one unblocked user in a SI case, and this user gets locked, auto-closure job is triggered on the wiki where the lock was placed.
Non-goals of this task (will be handled in separate tasks):
- Triggering the auto-close job on other wikis in the cluster