Access to the IPInfo tool is controlled by the 'ipinfo' right, which will be grated to certain trusted user groups, starting with checkusers.
Following T264150: User needs to request access to IP information [L], a user with the 'ipinfo' right must additionally check a box to indicate that they will use the tool only for anti-abuse purposes. This will be stored as a user preference. This task is to build out this preference.
In addition, the API endpoints should check for the presence of this user preference in addition to the 'ipinfo' right, and return a relevant error message if it is not present.
