The GlobalBlockLocalStatusLookup service allows callers to lookup the local status of a given global block. This can be done either by the ID of the global block in the globalblocks table or (importantly for this task) the address which is the specific target of the block. The service also provides a method named ::getLocalWhitelistInfoByIP which allows callers to lookup a block by just the IP address target of the block, which likely needs to renamed to make it clear that the blocks can target more than just IP addresses (or ranges).
The GlobalBlockLocalStatusManager service allows callers to manage whether a global block is locally disabled. The service needs to write to the gbw_target_central_id column and use an alternative error message key if no global block exists on a target.
Acceptance criteria
- Update the GlobalBlockLocalStatusLookup service to support global blocks on accounts
- Update the GlobalBlockLocalStatusManager service to support global blocks on accounts