What is the problem?
Currently, on the second page of the IP reveal guidance dialog you are shown the "Enable IP Information" checkbox to allow the preference, even if you don't have the rights to IPInfo. Trying to save the preference via the dialog will have no effect.
API response is:
{
"warnings": {
"options": {
"warnings": "Validation error for \"ipinfo-use-agreement\": not a valid preference."
}
},
"options": "success"
}Steps to reproduce problem
- On an environment with CheckUser and IP Info installed and $wgCheckUserEnableTempAccountsOnboardingDialog = true;
- Login as a user with checkuser-temporary-account-viewer but not any of the IPInfo rights
- Go to Special:RecentChanges, Special:Watchlist or the revision history for a page
- A dialog should appear, click the next button to see the IPInfo preference checkbox
Environment
Wiki(s): local docker CheckUser 2.5 (ef2879f) 07:44, 28 February 2025.